// // sub_601BA4 from 0x601ba4 to 0x601be6 (66 bytes) // // 3 xrefs: // > sub_6065F8 @ 0x6066b0 // > sub_606B80 @ 0x606c00 // > sub_607BBC @ 0x608808 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_601BA4(_DWORD *a1, int *a2, int a3) { int v4; // r6 int *v6; // r1 int v7; // r6 int *v8; // r0 _DWORD *v9; // r3 int result; // r0 int v11; // r1 v4 = a1[2]; if ( v4 == a1[3] ) { v6 = (int *)a1[1]; v7 = v4 - (_DWORD)v6; v8 = sub_601B48(a3, v6, v7, 8 * ((v7 >> 3) + 1 + ((unsigned int)(v7 >> 3) >> 1))); a1[1] = v8; a1[2] = (char *)v8 + v7; a1[3] = &v8[2 * (v7 >> 3) + 2 + 2 * ((unsigned int)(v7 >> 3) >> 1)]; } v9 = (_DWORD *)a1[2]; result = *a2; v11 = a2[1]; a1[2] = v9 + 2; *v9 = result; v9[1] = v11; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source