// // sub_100511088 from 0x100511088 to 0x1005110ec (100 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_100511088(__int64 a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5) { __int64 v5; // x8 float v6; // s0 __int64 result; // x0 if ( a2 != 2 ) return 31; if ( *(_DWORD *)(a1 + 552) == -1 ) { v6 = 0.0; } else { v5 = *(_QWORD *)(a1 + 568); if ( v5 ) v6 = *(float *)(v5 + 628); else v6 = 1.0; } *(float *)(a1 + 560) = v6 * *(float *)(a1 + 544); *a3 = a1 + 556; *a4 = 8; result = 0; if ( a5 ) *a5 = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source