// // EditorUI::toggleEditObjectButton from 0x483f28 to 0x483fb0 (136 bytes) // // 2 xrefs: // > EditorUI::updateButtons @ 0x485fe8 // > EditorUI::deselectObject @ 0x6f418c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:49:24 +0000 // int __fastcall EditorUI::toggleEditObjectButton(cocos2d::CCArray **this) { int v2; // r5 __int16 *v3; // r1 int v4; // r1 int v5; // r5 __int16 *v6; // r1 int v7; // r1 v2 = EditorUI::editButtonUsable(this); *((_BYTE *)*(this + 191) + 320) = v2; if ( v2 ) v3 = word_BEBDD8; else v3 = (__int16 *)&byte_BEBE3C; (*(void (__fastcall **)(_DWORD, __int16 *))(*(_DWORD *)*(this + 191) + 480))(*(this + 191), v3); if ( v2 ) v4 = 255; else v4 = 175; (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 191) + 456))(*(this + 191), v4); v5 = EditorUI::editButton2Usable(this); *((_BYTE *)*(this + 194) + 320) = v5; if ( v5 ) v6 = word_BEBDD8; else v6 = (__int16 *)&byte_BEBE3C; (*(void (__fastcall **)(_DWORD, __int16 *))(*(_DWORD *)*(this + 194) + 480))(*(this + 194), v6); if ( v5 ) v7 = 255; else v7 = 175; (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 194) + 456))(*(this + 194), v7); return EditorUI::updateEditColorButton((EditorUI *)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source