// // sub_C9A40 from 0xc9a40 to 0xc9ab2 (114 bytes) // // 3 xrefs: // > sub_C9AB2 @ 0xc9abe // > sub_CD834 @ 0xcd850 // > sub_CD950 @ 0xcd968 // // 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_C9A40(int a1, int *a2) { int *i; // r6 __int64 v5; // kr00_8 int v6; // r0 int v7; // r0 bool v8; // zf int result; // r0 for ( i = (int *)a2[21]; i; i = (int *)HIDWORD(v5) ) { v5 = *(_QWORD *)i; sub_811AC(a1, *i); *i = 0; i[1] = 0; sub_811AC(a1, (int)i); } v6 = a2[20]; if ( v6 ) { v7 = sub_8116C(a1, a2[17], a2[19] + v6); a2[17] = v7; v8 = v7 == 0; result = 0; a2[19] += a2[20]; a2[20] = 0; if ( v8 ) result = -139; } else { result = 0; } a2[21] = 0; a2[18] = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source