// // sub_1004AFCFC from 0x1004afcfc to 0x1004afdc0 (196 bytes) // // 2 xrefs: // > FMOD::Geometry::setPosition @ 0x1004adc28 // > sub_1004B01B8 @ 0x1004b078c // // 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_1004AFCFC(__int64 a1, float *a2) { __int64 v4; // x19 __int64 v5; // x9 __int64 v6; // x8 __int64 v7; // x21 v4 = *(_QWORD *)(*(_QWORD *)(a1 + 24) + 400LL); sub_1004B5C70(v4); if ( a2 ) { if ( *(float *)(a1 + 140) == *a2 && *(float *)(a1 + 144) == a2[1] && *(float *)(a1 + 148) == a2[2] || (v5 = *(_QWORD *)a2, *(float *)(a1 + 148) = a2[2], *(_QWORD *)(a1 + 140) = v5, v6 = *(_QWORD *)(a1 + 24), *(_BYTE *)(v6 + 8) = 1, *(_BYTE *)(a1 + 312)) ) { v7 = 0; } else { v7 = 0; *(_BYTE *)(a1 + 312) = 1; *(_QWORD *)(a1 + 304) = *(_QWORD *)(v6 + 432); *(_QWORD *)(v6 + 432) = a1; } } else { v7 = 31; } sub_1004B5CA0(v4); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source