; ; CreateGuidelinesLayer::onRecord from 0x308dc8 to 0x308e88 (192 bytes) ; ; 1 xrefs: ; > FindBPMLayer::onRecord @ 0x308e98 ; ; 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 {R4-R6,LR} ; +0x0, 0x308dc8 MOV R4, R0 ; +0x2, 0x308dca LDR R5, =(__stack_chk_guard_ptr - 0x308DD8) ; +0x4, 0x308dcc MOVS R1, #0 ; +0x6, 0x308dce VPUSH {D8} ; +0x8, 0x308dd0 ADD R5, PC; __stack_chk_guard_ptr ; +0xc, 0x308dd4 LDR R5, [R5]; __stack_chk_guard ; +0xe, 0x308dd6 LDR.W R0, [R0,#0x1F8] ; +0x10, 0x308dd8 LDR R3, [R5] ; +0x14, 0x308ddc SUB SP, SP, #8 ; +0x16, 0x308dde STR R3, [SP,#8+var_4] ; +0x18, 0x308de0 LDR R3, [R0] ; +0x1a, 0x308de2 LDR.W R3, [R3,#0x23C] ; +0x1c, 0x308de4 BLX R3 ; +0x20, 0x308de8 MOV R0, SP; this ; +0x22, 0x308dea LDR.W R1, [R4,#0x1F8] ; +0x24, 0x308dec BL _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x28, 0x308df0 LDR R0, [SP,#8+var_8]; char * ; +0x2c, 0x308df4 BLX atof ; +0x2e, 0x308df6 VMOV D8, R0, R1 ; +0x32, 0x308dfa MOV R0, SP ; +0x36, 0x308dfe BL sub_774008 ; +0x38, 0x308e00 MOV R0, R4; this ; +0x3c, 0x308e04 MOVS R1, #1; bool ; +0x3e, 0x308e06 BL _ZN21CreateGuidelinesLayer11toggleItemsEb; CreateGuidelinesLayer::toggleItems(bool) ; +0x40, 0x308e08 LDR.W R0, [R4,#0x1F8] ; +0x44, 0x308e0c MOVS R1, #0 ; +0x48, 0x308e10 LDR R3, [R0] ; +0x4a, 0x308e12 LDR.W R3, [R3,#0x1EC] ; +0x4c, 0x308e14 BLX R3 ; +0x50, 0x308e18 VCVT.F32.F64 S16, D8 ; +0x52, 0x308e1a LDR R1, =(unk_939830 - 0x308E28) ; +0x56, 0x308e1e ADD.W R0, R4, #0x218; int ; +0x58, 0x308e20 ADD R1, PC; unk_939830 ; char * ; +0x5c, 0x308e24 VSTR S16, [R4,#0x20C] ; +0x5e, 0x308e26 BL sub_7753D4 ; +0x62, 0x308e2a LDR.W R0, [R4,#0x208] ; +0x66, 0x308e2e MOVS R3, #0 ; +0x6a, 0x308e32 MOVS R1, #0xFF ; +0x6c, 0x308e34 STR.W R3, [R4,#0x214] ; +0x6e, 0x308e36 LDR R2, [R0] ; +0x72, 0x308e3a LDR.W R2, [R2,#0x1D8] ; +0x74, 0x308e3c STRB.W R1, [SP,#8+var_8] ; +0x78, 0x308e40 MOVS R1, #0x96 ; +0x7c, 0x308e44 STRB.W R3, [SP,#8+var_8+2] ; +0x7e, 0x308e46 STRB.W R1, [SP,#8+var_8+1] ; +0x82, 0x308e4a MOV R1, SP ; +0x86, 0x308e4e BLX R2 ; +0x88, 0x308e50 LDR.W R0, [R4,#0x208] ; +0x8a, 0x308e52 LDR R1, =0x3F4CCCCD ; +0x8e, 0x308e56 LDR R3, [R0] ; +0x90, 0x308e58 LDR R3, [R3,#0x50] ; +0x92, 0x308e5a BLX R3 ; +0x94, 0x308e5c LDR R3, [R4] ; +0x96, 0x308e5e MOV R0, R4 ; +0x98, 0x308e60 LDR.W R3, [R3,#0x294] ; +0x9a, 0x308e62 BLX R3 ; +0x9e, 0x308e66 MOVS R3, #1 ; +0xa0, 0x308e68 MOV R0, R4; this ; +0xa2, 0x308e6a STRB.W R3, [R4,#0x210] ; +0xa4, 0x308e6c BL _ZN7cocos2d6CCNode14scheduleUpdateEv; cocos2d::CCNode::scheduleUpdate(void) ; +0xa8, 0x308e70 LDR R2, [SP,#8+var_4] ; +0xac, 0x308e74 LDR R3, [R5] ; +0xae, 0x308e76 CMP R2, R3 ; +0xb0, 0x308e78 BEQ loc_308E80 ; +0xb2, 0x308e7a BLX __stack_chk_fail ; +0xb4, 0x308e7c ADD SP, SP, #8 ; +0xb8, 0x308e80 VPOP {D8} ; +0xba, 0x308e82 POP {R4-R6,PC} ; +0xbe, 0x308e86