// // EditorUI::disableButton from 0x68722c to 0x68734c (288 bytes) // // 2 xrefs: // > EditorUI::updateCreateMenu @ 0x689dc8 // > @ 0x80fd0 // // 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 EditorUI::disableButton(EditorUI *a1, CreateMenuItem *a2) { cocos2d::CCNode *v3; // x21 cocos2d::CCNode_vtbl *v4; // x0 void (__fastcall *v5)(cocos2d::CCNode_vtbl *, __int16 *); // x3 __int64 v6; // x20 int v7; // w1 __int16 v8; // [xsp+38h] [xbp+38h] BYREF char v9; // [xsp+3Ah] [xbp+3Ah] __int16 v10; // [xsp+40h] [xbp+40h] BYREF char v11; // [xsp+42h] [xbp+42h] v3 = a2->getNormalImage(a2); v4 = v3[2].__vftable; if ( v4 || (v4 = *(cocos2d::CCNode_vtbl **)&v3[2].m_uID) != nullptr ) { v5 = *((void (__fastcall **)(cocos2d::CCNode_vtbl *, __int16 *))v4->copyWithZone + 118); v10 = 32639; v11 = 127; v5(v4, &v10); } if ( (a2->m_objectID & 0x80000000) == 0 ) { v6 = *(_QWORD *)&v3[1].m_bUseChildIndex; v11 = 127; v10 = 25700; v8 = 32639; v7 = *(_DWORD *)(v6 + 1232); v9 = 127; if ( v7 == 1 && GameObject::isColorObject((GameObject *)v6) ) { if ( *(_BYTE *)(v6 + 1752) ) { v8 = v10; v9 = v11; } } (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v6 + 1480LL))(v6, &v8); (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v6 + 1080LL))(v6, &v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source