// // sub_100501874 from 0x100501874 to 0x1005018e8 (116 bytes) // // 1 xrefs: // > sub_100500E90 @ 0x100501198 // // 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:06:54 +0000 // __int64 __fastcall sub_100501874(__int64 a1, int *a2) { unsigned __int64 v4; // x21 int v5; // w8 __int64 result; // x0 v4 = *(_QWORD *)(a1 + 8); if ( v4 >= *(_QWORD *)(a1 + 16) ) { result = sub_100516924(a1, a2); } else { v5 = *a2; *(_BYTE *)(v4 + 4) = *((_BYTE *)a2 + 4); *(_DWORD *)v4 = v5; sub_1000264D4((_QWORD *)(v4 + 8), (__int64)(a2 + 2)); *(_DWORD *)(v4 + 24) = a2[6]; result = v4 + 28; *(_QWORD *)(a1 + 8) = v4 + 28; } *(_QWORD *)(a1 + 8) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source