; ; CustomizeObjectLayer::onClear from 0x461180 to 0x461206 (134 bytes) ; ; 1 xrefs: ; > CustomizeObjectLayer::textInputOpened @ 0x46126c ; ; 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 {R0-R8,LR} ; +0x0, 0x461180 MOV R6, R0 ; +0x4, 0x461184 LDR R3, =(__stack_chk_guard_ptr - 0x461190) ; +0x6, 0x461186 LDR.W R8, [R0,#0x200] ; +0x8, 0x461188 ADD R3, PC; __stack_chk_guard_ptr ; +0xc, 0x46118c LDR R3, [R3]; __stack_chk_guard ; +0xe, 0x46118e LDR R2, [R3] ; +0x10, 0x461190 MOV R5, R3 ; +0x12, 0x461192 STR R2, [SP,#0x10+var_4] ; +0x14, 0x461194 CMP.W R8, #0 ; +0x16, 0x461196 BEQ loc_4611F4 ; +0x1a, 0x46119a ADD R4, SP, #0x10+var_8 ; +0x1c, 0x46119c ADD R7, SP, #0x10+var_C ; +0x1e, 0x46119e LDR R1, =(unk_939830 - 0x4611AE) ; +0x20, 0x4611a0 MOVS R3, #1 ; +0x22, 0x4611a2 MOV R2, R7 ; +0x24, 0x4611a4 STRB.W R3, [R0,#0x27A] ; +0x26, 0x4611a6 ADD R1, PC; unk_939830 ; char * ; +0x2a, 0x4611aa MOV R0, R4; int ; +0x2c, 0x4611ac BL sub_776584 ; +0x2e, 0x4611ae MOV R0, R8 ; +0x32, 0x4611b2 MOV R1, R4 ; +0x34, 0x4611b4 MOVS R2, #0 ; +0x36, 0x4611b6 BL _ZN14TextGameObject16updateTextObjectESsb; TextGameObject::updateTextObject(std::string,bool) ; +0x38, 0x4611b8 MOV R0, R4 ; +0x3c, 0x4611bc BL sub_774008 ; +0x3e, 0x4611be LDR.W R8, [R6,#0x248] ; +0x42, 0x4611c2 LDR R1, =(unk_939830 - 0x4611D0) ; +0x46, 0x4611c6 MOV R0, R4; int ; +0x48, 0x4611c8 MOV R2, R7 ; +0x4a, 0x4611ca ADD R1, PC; unk_939830 ; char * ; +0x4c, 0x4611cc BL sub_776584 ; +0x4e, 0x4611ce MOV R0, R8 ; +0x52, 0x4611d2 MOV R1, R4 ; +0x54, 0x4611d4 BL _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0x56, 0x4611d6 MOV R0, R4 ; +0x5a, 0x4611da BL sub_774008 ; +0x5c, 0x4611dc MOVS R3, #0 ; +0x60, 0x4611e0 STRB.W R3, [R6,#0x27A] ; +0x62, 0x4611e2 B loc_4611F4 ; +0x66, 0x4611e6 B loc_4611EA ; +0x68, 0x4611e8 MOV R0, R4 ; +0x6a, 0x4611ea BL sub_774008 ; +0x6c, 0x4611ec BL __cxa_end_cleanup ; +0x70, 0x4611f0 LDR R2, [SP,#0x10+var_4] ; +0x74, 0x4611f4 LDR R3, [R5] ; +0x76, 0x4611f6 CMP R2, R3 ; +0x78, 0x4611f8 BEQ loc_461200 ; +0x7a, 0x4611fa BLX __stack_chk_fail ; +0x7c, 0x4611fc ADD SP, SP, #0x10 ; +0x80, 0x461200 POP.W {R4-R8,PC} ; +0x82, 0x461202