{"type": "func", "start": 4295182288, "end": 4295182341, "name": "EditorUI::onCreateButton", "pseudocode": "// \n// EditorUI::onCreateButton from 0x1000347d0 to 0x100034805 (53 bytes)\n// \n// 2 xrefs:\n// > EditorUI::menuItemFromObjectString @ 0x100031b98\n// > EditorUI::getCreateBtn @ 0x100033ac1\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall EditorUI::onCreateButton(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  unsigned int m_uAutoReleaseCount; // ecx\n\n  m_uAutoReleaseCount = 0;\n  if ( a1->m_selectedObjectIndex != a2[9].m_uAutoReleaseCount )\n    m_uAutoReleaseCount = a2[9].m_uAutoReleaseCount;\n  a1->m_selectedObjectIndex = m_uAutoReleaseCount;\n  EditorUI::updateCreateMenu(a1, 0);\n  EditorUI::updateGridNodeSize_1(a1);\n}", "assembly": "; \n; EditorUI::onCreateButton from 0x1000347d0 to 0x100034805 (53 bytes)\n; \n; 2 xrefs:\n; > EditorUI::menuItemFromObjectString @ 0x100031b98\n; > EditorUI::getCreateBtn @ 0x100033ac1\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1000347d0\nmov     rbp, rsp                                                       ; +0x1, 0x1000347d1\npush    rbx                                                            ; +0x4, 0x1000347d4\npush    rax                                                            ; +0x5, 0x1000347d5\nmov     rbx, rdi                                                       ; +0x6, 0x1000347d6\nmov     eax, [rsi+210h]                                                ; +0x9, 0x1000347d9\nxor     ecx, ecx                                                       ; +0xf, 0x1000347df\ncmp     [rdi+4C0h], eax                                                ; +0x11, 0x1000347e1\ncmovnz  ecx, eax                                                       ; +0x17, 0x1000347e7\nmov     [rdi+4C0h], ecx                                                ; +0x1a, 0x1000347ea\nxor     esi, esi                                                       ; +0x20, 0x1000347f0\ncall    EditorUI__updateCreateMenu                                     ; +0x22, 0x1000347f2\nmov     rdi, rbx                                                       ; +0x27, 0x1000347f7\nadd     rsp, 8                                                         ; +0x2a, 0x1000347fa\npop     rbx                                                            ; +0x2e, 0x1000347fe\npop     rbp                                                            ; +0x2f, 0x1000347ff\njmp     EditorUI__updateGridNodeSize_1                                 ; +0x30, 0x100034800", "xrefs": ["EditorUI::menuItemFromObjectString @ 0x100031b98", "EditorUI::getCreateBtn @ 0x100033ac1"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}