; ; CustomizeObjectLayer::textInputOpened from 0x461214 to 0x4612ac (152 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'CustomizeObjectLayer::textInputOpened @ 0x4612bc ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH.W {R4-R9,LR} ; +0x0, 0x461214 SUB SP, SP, #0x14 ; +0x4, 0x461218 LDR R5, =(__stack_chk_guard_ptr - 0x461226) ; +0x6, 0x46121a MOV R9, R0 ; +0x8, 0x46121c MOV R0, R1 ; +0xa, 0x46121e MOV R7, R1 ; +0xc, 0x461220 ADD R5, PC; __stack_chk_guard_ptr ; +0xe, 0x461222 LDR R5, [R5]; __stack_chk_guard ; +0x10, 0x461224 LDR R3, [R5] ; +0x12, 0x461226 STR R3, [SP,#0x14+var_8] ; +0x14, 0x461228 LDR R3, [R1] ; +0x16, 0x46122a LDR R3, [R3,#0x20] ; +0x18, 0x46122c BLX R3 ; +0x1a, 0x46122e CMP R0, #1 ; +0x1c, 0x461230 BNE loc_46129A ; +0x1e, 0x461232 ADD R6, SP, #0x14+var_10 ; +0x20, 0x461234 MOV R1, R7 ; +0x22, 0x461236 ADD R4, SP, #0x14+var_C ; +0x24, 0x461238 MOV R0, R6; this ; +0x26, 0x46123a BL _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x28, 0x46123c LDR R1, =(aA_0 - 0x46124A); "A" ; +0x2c, 0x461240 MOV R0, R4; int ; +0x2e, 0x461242 MOV R2, SP ; +0x30, 0x461244 ADD R1, PC; "A" ; +0x32, 0x461246 BL sub_776584 ; +0x34, 0x461248 MOV R1, R4 ; +0x38, 0x46124c MOV R0, R6 ; +0x3a, 0x46124e BL sub_774DBC ; +0x3c, 0x461250 MOV R8, R0 ; +0x40, 0x461254 MOV R0, R4 ; +0x42, 0x461256 BL sub_774008 ; +0x44, 0x461258 MOV R0, R6 ; +0x48, 0x46125c BL sub_774008 ; +0x4a, 0x46125e CMP.W R8, #0 ; +0x4e, 0x461262 BNE loc_46129A ; +0x52, 0x461266 MOV R0, R9; this ; +0x54, 0x461268 MOV R1, R8; cocos2d::CCObject * ; +0x56, 0x46126a BL _ZN20CustomizeObjectLayer7onClearEPN7cocos2d8CCObjectE; CustomizeObjectLayer::onClear(cocos2d::CCObject *) ; +0x58, 0x46126c LDR R1, =(asc_943A02 - 0x46127A); " " ; +0x5c, 0x461270 MOV R0, R4; int ; +0x5e, 0x461272 MOV R2, R6 ; +0x60, 0x461274 ADD R1, PC; " " ; +0x62, 0x461276 BL sub_776584 ; +0x64, 0x461278 MOV R0, R7 ; +0x68, 0x46127c MOV R1, R4 ; +0x6a, 0x46127e BL _ZN15CCTextInputNode11updateLabelESs; CCTextInputNode::updateLabel(std::string) ; +0x6c, 0x461280 MOV R0, R4 ; +0x70, 0x461284 BL sub_774008 ; +0x72, 0x461286 B loc_46129A ; +0x76, 0x46128a MOV R0, R6 ; +0x78, 0x46128c B loc_461292 ; +0x7a, 0x46128e MOV R0, R4 ; +0x7c, 0x461290 BL sub_774008 ; +0x7e, 0x461292 BL __cxa_end_cleanup ; +0x82, 0x461296 LDR R2, [SP,#0x14+var_8] ; +0x86, 0x46129a LDR R3, [R5] ; +0x88, 0x46129c CMP R2, R3 ; +0x8a, 0x46129e BEQ loc_4612A6 ; +0x8c, 0x4612a0 BLX __stack_chk_fail ; +0x8e, 0x4612a2 ADD SP, SP, #0x14 ; +0x92, 0x4612a6 POP.W {R4-R9,PC} ; +0x94, 0x4612a8