// // sub_1005DCAC4 from 0x1005dcac4 to 0x1005dcbc8 (260 bytes) // // 2 xrefs: // > sub_1005F56B4 @ 0x1005f5720 // > sub_1005FA95C @ 0x1005faa9c // // 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:09:38 +0000 // __int64 __fastcall sub_1005DCAC4(__int64 a1, _QWORD *a2) { __int64 (__fastcall *v2)(__int64); // x8 __int64 result; // x0 int *v5; // x1 __int64 v6; // x1 int *v7; // x1 v2 = *(__int64 (__fastcall **)(__int64))(a1 + 1008); if ( !v2 ) return 66; result = v2(a1 + 8); if ( !(_DWORD)result ) { v5 = (int *)a2[7]; if ( v5 ) { sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), v5); a2[7] = 0; } v6 = a2[9]; if ( v6 ) { if ( *(_QWORD *)(v6 + 624) ) { sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), *(int **)(v6 + 624)); v6 = a2[9]; *(_QWORD *)(v6 + 624) = 0; } sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), (int *)v6); a2[9] = 0; } v7 = (int *)a2[11]; if ( v7 ) { sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), v7); a2[11] = 0; } result = a2[10]; if ( result ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)result + 8LL))(result); a2[10] = 0; return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source