// // sub_1007014D8 from 0x1007014d8 to 0x100701570 (152 bytes) // // 1 xrefs: // > @ 0x1009e9118 // // 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:12:48 +0000 // __int64 __fastcall sub_1007014D8(__int64 a1, _BYTE *a2, int a3) { __int64 v6; // x22 int v7; // w9 __int64 v8; // x2 int v9; // w10 __int64 result; // x0 v6 = *(_QWORD *)(a1 + 48); sub_100700768(a1, 15); v7 = a3 - 1; if ( *(_DWORD *)v6 < a3 ) v7 = *(_DWORD *)v6; if ( v7 <= 0 ) { *a2 = 0; return 0; } else { v8 = 0; do { if ( v8 >= v7 ) break; v9 = *(unsigned __int8 *)(*(_QWORD *)(v6 + 8) + v8++); } while ( v9 != 10 ); result = sub_1007013E0(a1, a2, v8); if ( (int)result >= 1 ) a2[(int)result] = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source