// // sub_1004B3B60 from 0x1004b3b60 to 0x1004b3bbc (92 bytes) // // 4 xrefs: // > sub_10046240C @ 0x100462498 // > sub_10046CDE4 @ 0x10046ce70 // > sub_10047B81C @ 0x10047b8a8 // > sub_100480EE8 @ 0x100480f70 // // 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_1004B3B60(__int64 a1, float a2) { int v2; // w8 float v3; // s0 *(float *)(a1 + 3028) = a2; v2 = *(_DWORD *)(a1 + 3060); if ( v2 <= 1 ) v2 = 1; *(_DWORD *)(a1 + 3060) = v2; v3 = (float)((float)((float)v2 + (float)v2) / 5.0) * a2; if ( v3 >= 0.01 ) *(_DWORD *)(a1 + 2132) = (int)(float)((float)*(int *)(*(_QWORD *)(a1 + 8) + 16LL) / v3); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source