// // sub_70EA4 from 0x70ea4 to 0x70f1a (118 bytes) // // 1 xrefs: // > sub_70364 @ 0x70364 // // 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_70EA4(_DWORD *a1, int a2, unsigned int a3, int a4) { int v5; // r0 int result; // r0 int v7; // [sp+4h] [bp-Ch] BYREF v7 = a4; if ( a2 < 0 ) return 32; v5 = a1[3]; if ( v5 ) { if ( v5 <= a2 ) return 32; } result = 0; if ( *(_DWORD *)(a1[55] + 364) << 31 ) { v7 = 0; if ( a1[62] != a2 ) a1[62] = a2; result = sub_4C6EA(a3, &v7, *(_DWORD *)(a1[1] + 52 * a2 + 8), *(_DWORD *)(a1[1] + 52 * a2 + 4)); if ( !result ) return sub_BBB84(a1[55], v7 + *(_DWORD *)(a1[61] + 296 * a1[62] + 256)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source