// // sub_4C1BC from 0x4c1bc to 0x4c236 (122 bytes) // // 1 xrefs: // > @ 0x4c1ba // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:40:41 +0000 // int __fastcall sub_4C1BC(int a1, float a2, float a3, int a4) { int v4; // r4 float v6; // s0 float v7; // s2 v4 = *(_DWORD *)(a1 + 332); if ( !v4 || !*(_DWORD *)(a1 + 16) ) return 30; if ( (*(_BYTE *)(v4 + 28) & 0x10) == 0 ) return 40; v6 = a3; v7 = a2; if ( a3 > 1.0 ) v6 = 1.0; if ( v6 < 0.0 ) v6 = 0.0; if ( a2 > 1.0 ) v7 = 1.0; if ( v7 < 0.0 ) v7 = 0.0; *(float *)(a1 + 140) = v7; *(float *)(a1 + 144) = v6; if ( a4 ) { *(float *)(a1 + 148) = v7; *(float *)(a1 + 152) = v6; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source