; ; CCTextInputMenu::create from 0x3dc060 to 0x3dc122 (194 bytes) ; ; 1 xrefs: ; > CCTextInputNode::openEditMenu @ 0x3dcd40 ; ; 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:46:48 +0000 ; PUSH.W {R0-R8,LR} ; +0x0, 0x3dc060 MOV R7, R0 ; +0x4, 0x3dc064 LDR R5, =(__stack_chk_guard_ptr - 0x3DC072) ; +0x6, 0x3dc066 MOV.W R0, #0x150; unsigned int ; +0x8, 0x3dc068 MOV R8, R1 ; +0xc, 0x3dc06c ADD R5, PC; __stack_chk_guard_ptr ; +0xe, 0x3dc06e LDR R5, [R5]; __stack_chk_guard ; +0x10, 0x3dc070 LDR R3, [R5] ; +0x12, 0x3dc072 STR R3, [SP,#0x10+var_4] ; +0x14, 0x3dc074 BL _Znwj; operator new(uint) ; +0x16, 0x3dc076 MOVS R1, #0; int ; +0x1a, 0x3dc07a MOV.W R2, #0x150; size_t ; +0x1c, 0x3dc07c MOV R4, R0 ; +0x20, 0x3dc080 BLX memset ; +0x22, 0x3dc082 MOV R0, R4; this ; +0x26, 0x3dc086 BL _ZN7cocos2d7CCLayerC2Ev; cocos2d::CCLayer::CCLayer(void) ; +0x28, 0x3dc088 LDR R3, =(_ZTV15CCTextInputMenu_ptr - 0x3DC096) ; +0x2c, 0x3dc08c ADD.W R0, R4, #0x140; this ; +0x2e, 0x3dc08e ADD R3, PC; _ZTV15CCTextInputMenu_ptr ; +0x32, 0x3dc092 LDR R3, [R3]; `vtable for'CCTextInputMenu ... ; +0x34, 0x3dc094 ADD.W R2, R3, #8 ; +0x36, 0x3dc096 STR R2, [R4] ; +0x3a, 0x3dc09a ADD.W R2, R3, #0x254 ; +0x3c, 0x3dc09c STR.W R2, [R4,#0x108] ; +0x40, 0x3dc0a0 ADD.W R2, R3, #0x28C ; +0x44, 0x3dc0a4 STR.W R2, [R4,#0x10C] ; +0x48, 0x3dc0a8 ADD.W R2, R3, #0x298 ; +0x4c, 0x3dc0ac STR.W R2, [R4,#0x110] ; +0x50, 0x3dc0b0 ADD.W R2, R3, #0x2A8 ; +0x54, 0x3dc0b4 ADD.W R3, R3, #0x2BC ; +0x58, 0x3dc0b8 STR.W R2, [R4,#0x114] ; +0x5c, 0x3dc0bc STR.W R3, [R4,#0x118] ; +0x60, 0x3dc0c0 MOVS R3, #0 ; +0x64, 0x3dc0c4 STR.W R3, [R4,#0x13C] ; +0x66, 0x3dc0c6 BL _ZN7cocos2d6CCRectC1Ev; cocos2d::CCRect::CCRect(void) ; +0x6a, 0x3dc0ca B loc_3DC0D8 ; +0x6e, 0x3dc0ce MOV R0, R4; this ; +0x70, 0x3dc0d0 BL _ZN7cocos2d7CCLayerD2Ev; cocos2d::CCLayer::~CCLayer() ; +0x72, 0x3dc0d2 B loc_3DC112 ; +0x76, 0x3dc0d6 ADD R6, SP, #0x10+var_C ; +0x78, 0x3dc0d8 MOV R1, R8; cocos2d::CCPoint * ; +0x7a, 0x3dc0da MOV R0, R6; this ; +0x7c, 0x3dc0dc BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x7e, 0x3dc0de MOV R0, R4 ; +0x82, 0x3dc0e2 MOV R1, R7 ; +0x84, 0x3dc0e4 MOV R2, R6 ; +0x86, 0x3dc0e6 BL _ZN15CCTextInputMenu4initEP15CCTextInputNodeN7cocos2d7CCPointE; CCTextInputMenu::init(CCTextInputNode *,cocos2d::CCPoint) ; +0x88, 0x3dc0e8 MOV R6, R0 ; +0x8c, 0x3dc0ec CBZ R0, loc_3DC0FA ; +0x8e, 0x3dc0ee MOV R0, R4; this ; +0x90, 0x3dc0f0 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x92, 0x3dc0f2 B loc_3DC104 ; +0x96, 0x3dc0f6 B loc_3DC118 ; +0x98, 0x3dc0f8 LDR R3, [R4] ; +0x9a, 0x3dc0fa MOV R0, R4 ; +0x9c, 0x3dc0fc MOV R4, R6 ; +0x9e, 0x3dc0fe LDR R3, [R3,#8] ; +0xa0, 0x3dc100 BLX R3 ; +0xa2, 0x3dc102 LDR R2, [SP,#0x10+var_4] ; +0xa4, 0x3dc104 MOV R0, R4 ; +0xa6, 0x3dc106 LDR R3, [R5] ; +0xa8, 0x3dc108 CMP R2, R3 ; +0xaa, 0x3dc10a BEQ loc_3DC11C ; +0xac, 0x3dc10c BLX __stack_chk_fail ; +0xae, 0x3dc10e MOV R0, R4; void * ; +0xb2, 0x3dc112 BL _ZdlPv; operator delete(void *) ; +0xb4, 0x3dc114 BL __cxa_end_cleanup ; +0xb8, 0x3dc118 ADD SP, SP, #0x10 ; +0xbc, 0x3dc11c POP.W {R4-R8,PC} ; +0xbe, 0x3dc11e