// // sub_10056D298 from 0x10056d298 to 0x10056d374 (220 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:08:16 +0000 // __int64 __fastcall sub_10056D298(__int64 a1, int a2) { int v3; // w8 __int64 v4; // x20 _BYTE *v5; // x21 __int64 v6; // x24 float v7; // s1 float v8; // s0 int v9; // w9 if ( a2 == 1 ) { v3 = *(_DWORD *)(a1 + 9296); if ( *(_DWORD *)(a1 + 536) != v3 ) { *(_DWORD *)(a1 + 536) = v3; *(_BYTE *)(a1 + 9160) = 1; } v4 = 0; v5 = (_BYTE *)(a1 + 9160); do { v6 = a1 + v4; v7 = *(float *)(a1 + v4 + 9168); v8 = 0.0; if ( v7 > -80.0 ) v8 = __exp10f(v7 / 20.0); if ( v8 != *(float *)(v6 + 840) ) { *(float *)(v6 + 840) = v8; *v5 = 1; } v9 = *(_DWORD *)(a1 + v4 + 9300); if ( *(_DWORD *)(a1 + v4 + 712) != v9 ) { *(_DWORD *)(a1 + v4 + 712) = v9; *v5 = 1; } v4 += 4; } while ( v4 != 128 ); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source