// // sub_180080120 from 0x180080120 to 0x180080196 (118 bytes) // // 6 xrefs: // > sub_180080B10 @ 0x180080b39 // > sub_180080B10 @ 0x180080b4b // > sub_180080B10 @ 0x180080b83 // > sub_180080B10 @ 0x180080b94 // > sub_180085720 @ 0x180085771 // > sub_180085720 @ 0x180085869 // // 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 // void __fastcall sub_180080120(_QWORD *a1, __int64 a2) { unsigned int v3; // eax __int64 v4; // r9 __int64 v5; // rdx __int64 v6; // rcx __int64 v7; // rcx __int64 v8; // rcx v3 = *(unsigned __int16 *)(a2 - 2); v4 = a2 - 4 - *(unsigned __int16 *)(a2 - 4) - 48; v5 = *(_QWORD *)(v4 + 32); v6 = v5; if ( (_WORD)v3 ) v6 = v3; if ( v4 == *a1 ) { v5 = a1[1]; *(_QWORD *)(v4 + 32) = v5; } v7 = *(_QWORD *)(v4 + 40) + v6; *(_QWORD *)(v4 + 40) = v7; if ( v7 == v5 ) { v8 = *(_QWORD *)(v4 + 24); if ( v8 ) { *(_QWORD *)(*(_QWORD *)(v4 + 16) + 24LL) = v8; *(_QWORD *)(*(_QWORD *)(v4 + 24) + 16LL) = *(_QWORD *)(v4 + 16); off_1801A2FA8(*(void **)(v4 + 8)); } else { *(_QWORD *)(v4 + 40) = 0; *(_QWORD *)(v4 + 32) = 0; a1[1] = 0; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source