// // sub_A376C from 0xa376c to 0xa37ba (78 bytes) // // 1 xrefs: // > sub_A3854 @ 0xa3856 // // 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_A376C(int a1, int a2, _DWORD *a3, _DWORD *a4, _BYTE *a5) { int v5; // r4 float v6; // s0 int result; // r0 if ( a2 != 2 ) return 31; if ( *(_DWORD *)(a1 + 388) == -1 ) { v6 = 0.0; } else { v5 = *(_DWORD *)(a1 + 400); if ( v5 ) v6 = *(float *)(v5 + 432); else v6 = 1.0; } *(float *)(a1 + 396) = *(float *)(a1 + 380) * v6; *a3 = a1 + 392; *a4 = 8; result = 0; if ( a5 ) *a5 = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source