// // sub_1004AF4AC from 0x1004af4ac to 0x1004af554 (168 bytes) // // 2 xrefs: // > FMOD::Geometry::getPolygonAttributes @ 0x1004adae8 // > sub_1004B01B8 @ 0x1004b0518 // // 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_1004AF4AC(__int64 a1, unsigned int a2, _DWORD *a3, _DWORD *a4, _BYTE *a5) { __int64 v10; // x20 __int64 v11; // x8 if ( (a2 & 0x80000000) != 0 || *(_DWORD *)(a1 + 44) <= (signed int)a2 ) return 31; v10 = *(_QWORD *)(*(_QWORD *)(a1 + 24) + 400LL); sub_1004B5C70(v10); v11 = *(_QWORD *)(a1 + 64) + *(int *)(*(_QWORD *)(a1 + 48) + 4LL * a2); if ( a3 ) *a3 = *(_DWORD *)(v11 + 176); if ( a4 ) *a4 = *(_DWORD *)(v11 + 180); if ( a5 ) *a5 = *(_BYTE *)(v11 + 186) & 1; sub_1004B5CA0(v10); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source