// // ColorSelectPopup::updateCustomColorIdx from 0x100809bb0 to 0x100809c31 (129 bytes) // // 0 xrefs: // // 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:41 +0000 // __int64 __fastcall ColorSelectPopup::updateCustomColorIdx(__int64 a1) { int v1; // ecx __int64 result; // rax __int64 v3; // rcx __int64 v5; // rdi unsigned int v6; // r14d v1 = *(_DWORD *)(a1 + 1168); result = 1; if ( v1 >= 2 ) result = (unsigned int)v1; *(_DWORD *)(a1 + 1168) = result; v3 = *(_QWORD *)(a1 + 680); if ( v3 ) { *(_DWORD *)(v3 + 1024) = result; } else { v5 = *(_QWORD *)(a1 + 688); if ( v5 ) { result = sub_1007FEF90(v5); if ( (_DWORD)result ) { v6 = 0; do { *(_DWORD *)(sub_1007FEFE0(*(_QWORD *)(a1 + 688), v6++) + 1024) = *(_DWORD *)(a1 + 1168); result = sub_1007FEF90(*(_QWORD *)(a1 + 688)); } while ( v6 < (unsigned int)result ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source