// // sub_10070D124 from 0x10070d124 to 0x10070d1fc (216 bytes) // // 3 xrefs: // > @ 0x1009c05b0 // > @ 0x1009c0608 // > @ 0x1009c0660 // // 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:55 +0000 // __int64 __fastcall sub_10070D124(__int64 a1, __int64 a2, unsigned __int64 __src) { const void *v3; // x20 unsigned __int64 v4; // x19 unsigned __int64 v5; // x2 v3 = (const void *)__src; if ( a2 | __src ) { v4 = *(_QWORD *)(a1 + 120); if ( a2 ) { sub_1006C0F18(); sub_1006CBCF0( (unsigned __int64 *)(v4 + 256), v4, (void (__fastcall *)(unsigned __int64 *, unsigned __int64 *, unsigned __int64))sub_1006C159C); *(_QWORD *)(v4 + 672) = 0; if ( v3 || *(_DWORD *)(v4 + 252) && (v3 = *(const void **)(v4 + 648)) != nullptr ) { sub_1006CBE64(v4 + 256, (unsigned __int64)v3, *(int *)(v4 + 656)); *(_DWORD *)(v4 + 252) = 1; } *(_DWORD *)(v4 + 248) = 1; } else { v5 = *(int *)(v4 + 656); if ( *(_DWORD *)(v4 + 248) ) sub_1006CBE64(v4 + 256, (unsigned __int64)v3, v5); else memcpy(*(void **)(v4 + 648), v3, v5); *(_DWORD *)(v4 + 252) = 1; *(_DWORD *)(v4 + 664) = 0; } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source