// // sub_9A3FC from 0x9a3fc to 0x9a4a8 (172 bytes) // // 1 xrefs: // > sub_9A50C @ 0x9a5b8 // // 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_9A3FC(int a1, int a2) { int result; // r0 int v4; // r0 bool v6; // zf unsigned int v7; // r6 int v8; // r5 int v9; // r1 float v10; // s0 float v11; // s0 bool v12; // zf if ( 2 * *(_DWORD *)(a1 + 512) ) return 1; v4 = *(_DWORD *)(a1 + 448); switch ( v4 ) { case 2: v7 = sub_60AD4(*(_DWORD *)(a1 + 524), *(_DWORD *)(a1 + 452)); v8 = 0; while ( v8 < sub_9A4B0(a1, *(_DWORD *)(a1 + 452)) ) { result = 1; v9 = 1 << v8++; if ( (v9 & v7) == 0 ) return result; } if ( a2 && *(_DWORD *)(*(_DWORD *)(a1 + 128) + 69188) != a2 ) return 1; v11 = *(float *)(a1 + 464); v12 = v11 == 360.0; if ( v11 == 360.0 ) v12 = 2 * *(_DWORD *)(a1 + 468) == 0; if ( !v12 ) return 1; v10 = *(float *)(a1 + 472); break; case 1: if ( a2 != 3 ) return 1; v10 = *(float *)(a1 + 456); break; case 0: result = a2 - 2; v6 = a2 == 2; goto LABEL_14; default: return 1; } result = 0; v6 = v10 == 0.0; LABEL_14: if ( !v6 ) return 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source