// // EditorUI::updateEditColorButton from 0x10047bf80 to 0x10047c104 (388 bytes) // // 3 xrefs: // > EditorUI::onEditColor @ 0x100471cb4 // > EditorUI::toggleEditObjectButton @ 0x100473bd4 // > EditorUI::colorSelectClosed @ 0x10047ccb4 // // 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:05:44 +0000 // __int64 __fastcall EditorUI::updateEditColorButton(__int64 *a1) { _QWORD *v2; // x20 _BYTE *v3; // x0 int v4; // w8 __int16 *v5; // x1 char v6; // w21 void (*v7)(void); // x2 __int64 v8; // x19 __int64 v9; // x0 __int64 v10; // x0 __int64 v12; // x19 __int64 v13; // x0 __int64 v14; // x0 __int64 v15; // [xsp+8h] [xbp-38h] BYREF __int64 v16; // [xsp+10h] [xbp-30h] BYREF __int64 v17; // [xsp+18h] [xbp-28h] BYREF if ( a1[187] ) { v2 = a1 + 138; v3 = (_BYTE *)a1[138]; v3[408] = 1; LABEL_4: v5 = &word_10076F228; v6 = 1; goto LABEL_5; } v4 = sub_1002E757C(a1[112]); v2 = a1 + 138; v3 = (_BYTE *)a1[138]; v3[408] = v4 != 0; if ( v4 ) goto LABEL_4; v6 = 0; v5 = &word_10076F22B; LABEL_5: (*(void (__fastcall **)(_BYTE *, __int16 *))(*(_QWORD *)v3 + 960LL))(v3, v5); v7 = *(void (**)(void))(*(_QWORD *)*v2 + 912LL); if ( (v6 & 1) != 0 ) { v7(); if ( !a1[193] && ((v16 = 0, v17 = 0, v15 = 0, sub_10047C660(a1, &v17, &v16, &v15), v17) || v16 || v15) ) { v12 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*v2 + 1072LL))(*v2); v13 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v14 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v13, "GJ_editHSVBtn2_001.png"); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v12 + 1160LL))(v12, v14); v7 = *(void (**)(void))(*(_QWORD *)*v2 + 72LL); } else { v8 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*v2 + 1072LL))(*v2); v9 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v10 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v9, "GJ_hsvBtn_001.png"); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 1160LL))(v8, v10); v7 = *(void (**)(void))(*(_QWORD *)*v2 + 72LL); } } return ((__int64 (*)(void))v7)(); }
GD Web Decomp Icon

GD Web Decomp

Raw Source