acdream/docs/research/decompiled/chunk_00700000.c
Erik 4d36756b91 research: full acclient.exe decompilation — 22,225 functions, 688K lines
Complete decompilation of the retail Asheron's Call client using
Ghidra 12.0.4 + pyghidra headless. 22,225 of 22,226 functions
successfully decompiled in 75 seconds.

Output: docs/research/decompiled/ (54 files, 688,567 lines of C)

Key findings already identified:
- CLandBlockStruct::ConstructPolygons at chunk_00530000.c:2270
  (split direction formula with 0x0CCAC033 constants)
- Motion command handlers at chunk_00510000.c (0x45000005 etc)
- Motion interpreter at chunk_00520000.c
- Portal space UI at chunk_004D0000.c and chunk_00560000.c

Next: identify CPhysicsObj, CMotionInterp, collision, and movement
functions by cross-referencing against ACE's C# port.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 23:25:51 +02:00

33 lines
678 B
C

// Decompiled from acclient.exe — chunk 0x00700000
// Ghidra 12.0.4 + pyghidra headless
// --- FUN_00706f20 at 0x00706F20 (size: 83) ---
void FUN_00706f20(void)
{
int iVar1;
undefined4 *puVar2;
puVar2 = &DAT_008674d0;
iVar1 = 10;
do {
puVar2[-0x11] = &PTR_LAB_00797910;
puVar2[-0x10] = 0;
puVar2[-0xf] = 0x3f800000;
puVar2[-0xe] = 0;
puVar2[-0xd] = 0;
puVar2[-0xc] = 0;
puVar2[-2] = 0;
puVar2[-1] = 0;
*puVar2 = 0;
FUN_00535b30();
puVar2 = puVar2 + 0x5a;
iVar1 = iVar1 + -1;
} while (iVar1 != 0);
_atexit((_func_4879 *)&LAB_007728f0);
return;
}