// // sub_100510BD0 from 0x100510bd0 to 0x100510c98 (200 bytes) // // 0 xrefs: // // 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 // __int64 __fastcall sub_100510BD0(__int64 a1) { unsigned int *v2; // x8 unsigned int v3; // w9 __int64 v4; // x8 __int64 i; // x20 __int64 result; // x0 __int64 v7; // x8 *(_DWORD *)(a1 + 536) = 1065353216; *(_DWORD *)(a1 + 544) = 1065353216; *(_DWORD *)(a1 + 600) = -1; *(_BYTE *)(a1 + 604) = 0; v2 = (unsigned int *)(a1 + 100); *(_QWORD *)(a1 + 552) = 0x3F800000FFFFFFFFLL; do v3 = __ldaxr(v2); while ( __stlxr(v3 | 0x10, v2) ); v4 = *(_QWORD *)(a1 + 232); if ( *(int *)(v4 + 96) >= 1 ) { for ( i = 0; i < *(int *)(v4 + 96); ++i ) { v7 = *(_QWORD *)(*(_QWORD *)(v4 + 104) + 8 * i); if ( *(_DWORD *)v7 ) { if ( *(_DWORD *)v7 == 1 ) { result = sub_1004A7A60(a1, i); if ( (_DWORD)result ) return result; } } else { result = sub_1004A79E0(a1, i, *(float *)(v7 + 56)); if ( (_DWORD)result ) return result; } v4 = *(_QWORD *)(a1 + 232); } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source