{"type": "func", "start": 4049980, "end": 4050018, "name": "CCTextInputNode::closeEditMenu", "pseudocode": "// \n// CCTextInputNode::closeEditMenu from 0x3dcc3c to 0x3dcc62 (38 bytes)\n// \n// 11 xrefs:\n// > CCTextInputMenu::ccTouchBegan @ 0x3dba5c\n// > CCTextInputMenu::rightClick @ 0x3dbaa8\n// > CCTextInputMenu::closeDeferred @ 0x3dbad0\n// > CCTextInputMenu::onCopy @ 0x3dbae6\n// > CCTextInputMenu::onPaste @ 0x3dbafc\n// > CCTextInputMenu::onClear @ 0x3dbb12\n// > CCTextInputNode::ccTouchMoved @ 0x3dcce4\n// > CCTextInputNode::openEditMenu @ 0x3dcd28\n// > CCTextInputNode::~CCTextInputNode @ 0x3dce2a\n// > CCTextInputNode::textChanged @ 0x3e3bfe\n// > CCTextInputNode::onTextFieldDetachWithIME @ 0x3e4a6a\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:46:48 +0000\n// \n\nint __fastcall CCTextInputNode::closeEditMenu(int this)\n{\n  cocos2d::CCObject *v1; // r4\n\n  v1 = *(cocos2d::CCObject **)(this + 488);\n  if ( v1 )\n  {\n    *(_DWORD *)(this + 488) = 0;\n    (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v1 + 264))(v1, 1);\n    return cocos2d::CCObject::release(v1);\n  }\n  return this;\n}", "assembly": "; \n; CCTextInputNode::closeEditMenu from 0x3dcc3c to 0x3dcc62 (38 bytes)\n; \n; 11 xrefs:\n; > CCTextInputMenu::ccTouchBegan @ 0x3dba5c\n; > CCTextInputMenu::rightClick @ 0x3dbaa8\n; > CCTextInputMenu::closeDeferred @ 0x3dbad0\n; > CCTextInputMenu::onCopy @ 0x3dbae6\n; > CCTextInputMenu::onPaste @ 0x3dbafc\n; > CCTextInputMenu::onClear @ 0x3dbb12\n; > CCTextInputNode::ccTouchMoved @ 0x3dcce4\n; > CCTextInputNode::openEditMenu @ 0x3dcd28\n; > CCTextInputNode::~CCTextInputNode @ 0x3dce2a\n; > CCTextInputNode::textChanged @ 0x3e3bfe\n; > CCTextInputNode::onTextFieldDetachWithIME @ 0x3e4a6a\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:46:48 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x3dcc3c\nLDR.W           R4, [R0,#0x1E8]                                        ; +0x2, 0x3dcc3e\nCBZ             R4, locret_3DCC60                                      ; +0x6, 0x3dcc42\nMOVS            R3, #0                                                 ; +0x8, 0x3dcc44\nSTR.W           R3, [R0,#0x1E8]                                        ; +0xa, 0x3dcc46\nLDR             R3, [R4]                                               ; +0xe, 0x3dcc4a\nMOV             R0, R4                                                 ; +0x10, 0x3dcc4c\nMOVS            R1, #1                                                 ; +0x12, 0x3dcc4e\nLDR.W           R3, [R3,#0x108]                                        ; +0x14, 0x3dcc50\nBLX             R3                                                     ; +0x18, 0x3dcc54\nMOV             R0, R4; this                                           ; +0x1a, 0x3dcc56\nPOP.W           {R4,LR}                                                ; +0x1c, 0x3dcc58\nB.W             _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x20, 0x3dcc5c\nPOP             {R4,PC}                                                ; +0x24, 0x3dcc60", "xrefs": ["CCTextInputMenu::ccTouchBegan @ 0x3dba5c", "CCTextInputMenu::rightClick @ 0x3dbaa8", "CCTextInputMenu::closeDeferred @ 0x3dbad0", "CCTextInputMenu::onCopy @ 0x3dbae6", "CCTextInputMenu::onPaste @ 0x3dbafc", "CCTextInputMenu::onClear @ 0x3dbb12", "CCTextInputNode::ccTouchMoved @ 0x3dcce4", "CCTextInputNode::openEditMenu @ 0x3dcd28", "CCTextInputNode::~CCTextInputNode @ 0x3dce2a", "CCTextInputNode::textChanged @ 0x3e3bfe", "CCTextInputNode::onTextFieldDetachWithIME @ 0x3e4a6a"], "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"}