// // sub_1005548E4 from 0x1005548e4 to 0x100554a50 (364 bytes) // // 1 xrefs: // > sub_10060C1F0 @ 0x10060c230 // // 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:07:56 +0000 // __int64 __fastcall sub_1005548E4(__int64 a1, float *a2, int *a3, int a4) { int v6; // w10 int v7; // w8 __int64 v8; // x22 char *v9; // x23 __int64 v11; // x24 __int64 result; // x0 bool v13; // w8 __int64 i; // x9 __int64 v15; // x13 __int64 *v16; // x14 float *v17; // x15 __int64 v18; // t1 __int64 v19; // [xsp+0h] [xbp-50h] BYREF if ( *(int *)(a1 + 8) < 1 ) return 0; v6 = *(_DWORD *)a1; v7 = a4 / *(_DWORD *)a1; v8 = v7; v9 = (char *)&v19 - ((8LL * v7 + 15) & 0xFFFFFFFFFFFFFFF0LL); if ( v7 < 1 ) { v13 = 0; if ( v6 >= 1 ) { LABEL_9: for ( i = 0; i != v6; ++i ) { if ( (int)v8 >= 1 ) { v15 = (unsigned int)v8; v16 = (__int64 *)v9; v17 = a2; do { v18 = *v16++; *v17 = *(float *)(v18 + 4 * i) + *v17; ++v17; --v15; } while ( v15 ); } a2 += v8; } } LABEL_15: if ( v13 ) return 0xFFFFFFFFLL; return 0; } v11 = 0; while ( 1 ) { result = sub_1005547B0(a1, a3); if ( (_DWORD)result == -1 ) return result; v6 = *(_DWORD *)a1; *(_QWORD *)&v9[8 * v11++] = *(_QWORD *)(a1 + 24) + 4LL * *(_DWORD *)a1 * (int)result; if ( (unsigned int)v8 == v11 ) { v13 = v11 < v8; if ( v6 >= 1 ) goto LABEL_9; goto LABEL_15; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source