; ; CCTextInputNode::openEditMenu from 0x6b8a64 to 0x6b8b14 (176 bytes) ; ; 4 xrefs: ; > CCTextInputNode::showHoldMenu @ 0x6b8b58 ; > CCTextInputNode::holdTimerFired @ 0x6c2288 ; > CCTextInputNode::rightClick @ 0x6c2454 ; > @ 0x84028 ; ; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! ; ; 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 12:50:53 +0000 ; STP X29, X30, [SP,#var_50]! ; +0x0, 0x6b8a64 MOV X29, SP ; +0x4, 0x6b8a68 STP X19, X20, [SP,#0x50+var_40] ; +0x8, 0x6b8a6c ADRP X19, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x6b8a70 ADD X20, X29, #0x50+var_10 ; +0x10, 0x6b8a74 STP X21, X22, [SP,#0x50+var_30] ; +0x14, 0x6b8a78 STR X1, [X29,#0x50+var_18] ; +0x18, 0x6b8a7c MOV X22, X0 ; +0x1c, 0x6b8a80 LDR X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x6b8a84 LDR X2, [X2] ; +0x24, 0x6b8a88 STR X2, [X29,#0x50+var_8] ; +0x28, 0x6b8a8c BL _ZN15CCTextInputNode13closeEditMenuEv; CCTextInputNode::closeEditMenu(void) ; +0x2c, 0x6b8a90 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x30, 0x6b8a94 LDR X21, [X0,#0x110] ; +0x34, 0x6b8a98 LDR X1, [X29,#0x50+var_18]; cocos2d::CCPoint * ; +0x38, 0x6b8a9c MOV X0, X20; this ; +0x3c, 0x6b8aa0 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x40, 0x6b8aa4 MOV X0, X22 ; +0x44, 0x6b8aa8 MOV X1, X20 ; +0x48, 0x6b8aac BL _ZN15CCTextInputMenu6createEP15CCTextInputNodeN7cocos2d7CCPointE; CCTextInputMenu::create(CCTextInputNode *,cocos2d::CCPoint) ; +0x4c, 0x6b8ab0 CBZ X21, loc_6B8AEC ; +0x50, 0x6b8ab4 CBZ X0, loc_6B8AEC ; +0x54, 0x6b8ab8 STR X0, [X22,#0x2A8] ; +0x58, 0x6b8abc BL _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x5c, 0x6b8ac0 LDR X2, [X21] ; +0x60, 0x6b8ac4 MOV X0, X21 ; +0x64, 0x6b8ac8 LDR X1, [X22,#0x2A8] ; +0x68, 0x6b8acc STR X1, [X29,#0x50+var_18] ; +0x6c, 0x6b8ad0 LDR X20, [X2,#0x1D0] ; +0x70, 0x6b8ad4 BL _ZN11GameToolbox13highestChildZEPN7cocos2d6CCNodeE; GameToolbox::highestChildZ(cocos2d::CCNode *) ; +0x74, 0x6b8ad8 ADD W2, W0, #1 ; +0x78, 0x6b8adc LDR X1, [X29,#0x50+var_18] ; +0x7c, 0x6b8ae0 MOV X0, X21 ; +0x80, 0x6b8ae4 BLR X20 ; +0x84, 0x6b8ae8 LDR X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x88, 0x6b8aec LDR X1, [X29,#0x50+var_8] ; +0x8c, 0x6b8af0 LDR X0, [X19] ; +0x90, 0x6b8af4 CMP X1, X0 ; +0x94, 0x6b8af8 B.NE loc_6B8B10 ; +0x98, 0x6b8afc LDP X19, X20, [SP,#0x50+var_40] ; +0x9c, 0x6b8b00 LDP X21, X22, [SP,#0x50+var_30] ; +0xa0, 0x6b8b04 LDP X29, X30, [SP+0x50+var_50],#0x50 ; +0xa4, 0x6b8b08 RET ; +0xa8, 0x6b8b0c BL .__stack_chk_fail ; +0xac, 0x6b8b10