// // sub_F01578 from 0xf01578 to 0xf0165c (228 bytes) // // 8 xrefs: // > sub_EDE200 @ 0xede2ac // > sub_EDE360 @ 0xede3e0 // > sub_EDE55C @ 0xede6e0 // > sub_EDE55C @ 0xede6e8 // > sub_EDE55C @ 0xede6f0 // > sub_EE28F0 @ 0xee2c88 // > sub_EE28F0 @ 0xee2e48 // > sub_F310A8 @ 0xf310f0 // // 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 13:12:19 +0000 // __int64 __fastcall sub_F01578(__int64 result) { int v1; // w1 __int64 v2; // x19 __int64 v3; // x3 __int64 v4; // x0 __int64 v5; // x3 __int64 v6; // x0 int v7; // w1 v1 = *(_DWORD *)(result + 24); v2 = result; if ( v1 <= 0 ) { if ( *(_DWORD *)(result + 4) ) { off_15693A8(); v1 = *(_DWORD *)(v2 + 24); } else if ( *(_DWORD *)(result + 20) ) { off_15693B8(); v1 = *(_DWORD *)(v2 + 24); } else if ( *(_DWORD *)(result + 8) * *(_DWORD *)(result + 52) > 0 ) { v3 = *(_QWORD *)(result + 88); v4 = 0; do { *(_BYTE *)(*(_QWORD *)(v2 + 72) + v4) = *(_DWORD *)(v3 + 4 * v4); v3 = *(_QWORD *)(v2 + 88); *(_DWORD *)(v3 + 4 * v4++) = 0; } while ( *(_DWORD *)(v2 + 8) * *(_DWORD *)(v2 + 52) > (int)v4 ); v1 = *(_DWORD *)(v2 + 24); } v5 = *(_QWORD *)(v2 + 72); v6 = *(int *)(v2 + 80); v7 = *(_DWORD *)(v2 + 28) + v1; ++*(_DWORD *)(v2 + 64); *(_DWORD *)(v2 + 24) = v7; result = v5 + v6; *(_QWORD *)(v2 + 72) = result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source