// // sub_1800D4660 from 0x1800d4660 to 0x1800d472e (206 bytes) // // 7 xrefs: // > sub_1800123F0 @ 0x1800124cf // > sub_180012680 @ 0x18001294a // > sub_1800FE610 @ 0x1800fed21 // > @ 0x18018c108 // > @ 0x18018c118 // > @ 0x18018c130 // > @ 0x1801fedb4 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_1800D4660(_QWORD *a1, _QWORD *a2) { _QWORD *v2; // rbx _QWORD *v5; // rbp bool v6; // zf _QWORD *v7; // rdi v2 = (_QWORD *)*a2; if ( (_QWORD *)*a2 != a2 ) { do { v5 = (_QWORD *)*v2; *(_QWORD *)v2[1] = *v2; *(_QWORD *)(*v2 + 8LL) = v2[1]; v6 = *((_BYTE *)v2 + 61) == 0; v2[1] = v2; *v2 = v2; if ( v6 || (v7 = (_QWORD *)*a1, (_QWORD *)*a1 == a1) ) { LABEL_6: v2[1] = a1[1]; *v2 = a1; a1[1] = v2; *(_QWORD *)v2[1] = v2; } else { while ( (unsigned int)sub_1800B7CF0(v7[4], (char *)v2[4]) ) { v7 = (_QWORD *)*v7; if ( v7 == a1 ) goto LABEL_6; } sub_1800D4BB0(v7, v2[5], *((unsigned int *)v2 + 14)); sub_1800D4B00(v2); } v2 = v5; } while ( v5 != a2 ); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source