// // sub_FC138 from 0xfc138 to 0xfc20c (212 bytes) // // 1 xrefs: // > @ 0x11f730 // // 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 12:15:09 +0000 // __int64 __fastcall sub_FC138(__int64 a1, __int64 a2, __int64 a3, int a4, _QWORD *a5) { __int64 v7; // x0 __int64 v8; // x2 __int64 v9; // x21 __int64 v10; // x22 __int64 v11; // x1 __int64 v12; // x23 __int64 v13; // x8 __int64 v14; // x9 float *v15; // x24 int v16; // w25 int v17; // w5 __int64 v18; // x26 __int64 v19; // x8 float *v20; // x9 float v21; // t1 float v22; // s0 __int64 v23; // x10 int v24; // w11 if ( *(__int16 *)(a1 + 98) >= 1 ) { v7 = sub_FC238(); v9 = v8; v10 = v7; v12 = v11; v15 = (float *)(v14 - v13); v16 = 0; v18 = v8 + v17; while ( v9 < v18 ) { if ( (unsigned int)sub_FBFB0(v10, a5, v15) ) return -1; v19 = *(unsigned __int8 *)(v10 + 100); v20 = v15; if ( *(_BYTE *)(v10 + 100) ) { do { v21 = *v20++; v22 = v21; v23 = *(_QWORD *)(v12 + 8LL * v16); v24 = v16 + 1; if ( v16 + 1 == a4 ) v16 = 0; else ++v16; --v19; *(float *)(v23 + 4 * v9) = *(float *)(v23 + 4 * v9) + v22; if ( v24 == a4 ) ++v9; } while ( v19 ); } } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source