{"type": "func", "start": 4728754, "end": 4728806, "name": "EditorUI::onCreateButton", "pseudocode": "// \n// EditorUI::onCreateButton from 0x4827b2 to 0x4827e6 (52 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:49:23 +0000\n// \n\nint __fastcall EditorUI::onCreateButton(EditorUI *this, cocos2d::CCObject *a2)\n{\n  int v3; // r3\n  EditorSFXManager *v4; // r0\n\n  v3 = *((_DWORD *)a2 + 101);\n  if ( *((_DWORD *)this + 223) == v3 )\n    v3 = 0;\n  *((_DWORD *)this + 223) = v3;\n  v4 = (EditorSFXManager *)EditorSFXManager::sharedState(this);\n  EditorSFXManager::playAction(v4, 277);\n  EditorUI::updateCreateMenu(this, 0);\n  return EditorUI::updateGridNodeSize((cocos2d::CCArray **)this);\n}", "assembly": "; \n; EditorUI::onCreateButton from 0x4827b2 to 0x4827e6 (52 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:49:23 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x4827b2\nMOV             R4, R0                                                 ; +0x2, 0x4827b4\nLDR.W           R2, [R0,#0x37C]                                        ; +0x4, 0x4827b6\nLDR.W           R3, [R1,#0x194]                                        ; +0x8, 0x4827ba\nCMP             R2, R3                                                 ; +0xc, 0x4827be\nIT EQ                                                                  ; +0xe, 0x4827c0\nMOVEQ           R3, #0                                                 ; +0x10, 0x4827c2\nSTR.W           R3, [R0,#0x37C]                                        ; +0x12, 0x4827c4\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x16, 0x4827c8\nMOVW            R1, #0x115; int                                        ; +0x1a, 0x4827cc\nBL              _ZN16EditorSFXManager10playActionEi; EditorSFXManager::playAction(int) ; +0x1e, 0x4827d0\nMOV             R0, R4; this                                           ; +0x22, 0x4827d4\nMOVS            R1, #0; bool                                           ; +0x24, 0x4827d6\nBL              _ZN8EditorUI16updateCreateMenuEb; EditorUI::updateCreateMenu(bool) ; +0x26, 0x4827d8\nMOV             R0, R4; this                                           ; +0x2a, 0x4827dc\nPOP.W           {R4,LR}                                                ; +0x2c, 0x4827de\nB.W             _ZN8EditorUI18updateGridNodeSizeEv; EditorUI::updateGridNodeSize(void) ; +0x30, 0x4827e2", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}