// // sub_1005D8710 from 0x1005d8710 to 0x1005d8808 (248 bytes) // // 3 xrefs: // > sub_100565B84 @ 0x10056619c // > sub_100565B84 @ 0x1005661d4 // > sub_1005857E8 @ 0x100585920 // // 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:35 +0000 // __int64 __fastcall sub_1005D8710(int *a1) { int *v2; // x21 _QWORD *v3; // x8 int *v4; // x23 int *v5; // x1 int *v6; // x1 v2 = *(int **)a1; if ( *(int **)a1 != a1 ) { do { v4 = *(int **)v2; v3 = *((_QWORD **)v2 + 1); *v3 = *(_QWORD *)v2; *(_QWORD *)(*(_QWORD *)v2 + 8LL) = v3; *(_QWORD *)v2 = v2; *((_QWORD *)v2 + 1) = v2; v5 = *((int **)v2 + 4); if ( v5 ) { sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), v5); *((_QWORD *)v2 + 4) = 0; } v6 = *((int **)v2 + 5); if ( v6 ) { sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), v6); *((_QWORD *)v2 + 5) = 0; } sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), v2); v2 = v4; } while ( v4 != a1 ); } sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), a1); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source