// // ColorSelectPopup::onToggleTintMode from 0x100806fd0 to 0x10080707b (171 bytes) // // 1 xrefs: // > ColorSelectPopup::init @ 0x100804a02 // // This function is hookable on this platform (idp: pc, 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 12:36:40 +0000 // __int64 __fastcall ColorSelectPopup::onToggleTintMode(__int64 a1) { __int64 result; // rax __int64 v2; // rcx __int64 v4; // rdi unsigned int v5; // r14d __int64 v6; // rcx result = *(unsigned int *)(a1 + 1136); *(_DWORD *)(a1 + 1136) = result != 1; v2 = *(_QWORD *)(a1 + 680); if ( v2 ) { *(_BYTE *)(v2 + 1487) = (_DWORD)result != 1; } else { v4 = *(_QWORD *)(a1 + 688); if ( v4 ) { result = sub_1007FEF90(v4); if ( (_DWORD)result ) { v5 = 0; do { *(_BYTE *)(sub_1007FEFE0(*(_QWORD *)(a1 + 688), v5++) + 1487) = *(_DWORD *)(a1 + 1136) != 0; result = sub_1007FEF90(*(_QWORD *)(a1 + 688)); } while ( v5 < (unsigned int)result ); } } else { v6 = *(_QWORD *)(a1 + 1144); if ( v6 ) *(_BYTE *)(v6 + 84) = (_DWORD)result != 1; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source