; ; CustomSongCell::draw from 0x423398 to 0x42343a (162 bytes) ; ; 0 xrefs: ; ; 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:48:02 +0000 ; PUSH {R4-R6,LR} ; +0x0, 0x423398 MOV R3, R0 ; +0x2, 0x42339a VPUSH {D8} ; +0x4, 0x42339c LDR R5, =(__stack_chk_guard_ptr - 0x4233A6) ; +0x8, 0x4233a0 ADD R5, PC; __stack_chk_guard_ptr ; +0xa, 0x4233a2 LDR R5, [R5]; __stack_chk_guard ; +0xc, 0x4233a4 VMOV.F32 S16, #1.0 ; +0xe, 0x4233a6 SUB SP, SP, #0x20; unsigned __int8 ; +0x12, 0x4233aa LDR.W R1, [R3,#0x190]; float ; +0x14, 0x4233ac LDR R2, [R5] ; +0x18, 0x4233b0 ADD R0, SP, #0x20+var_1C; this ; +0x1a, 0x4233b2 ADD R6, SP, #0x20+var_14 ; +0x1c, 0x4233b4 ADD R4, SP, #0x20+var_C ; +0x1e, 0x4233b6 STR R2, [SP,#0x20+var_4] ; +0x20, 0x4233b8 LDR.W R2, [R3,#0x194]; float ; +0x22, 0x4233ba BL _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x26, 0x4233be MOVS R0, #0; this ; +0x2a, 0x4233c2 MOVS R3, #0x4B ; 'K'; unsigned __int8 ; +0x2c, 0x4233c4 MOV R1, R0; unsigned __int8 ; +0x2e, 0x4233c6 MOV R2, R0; unsigned __int8 ; +0x30, 0x4233c8 BL _ZN7cocos2d13ccDrawColor4BEhhhh; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x32, 0x4233ca MOV.W R0, #0x40000000; width ; +0x36, 0x4233ce BLX glLineWidth ; +0x3a, 0x4233d2 MOV.W R1, #0x3F800000; float ; +0x3e, 0x4233d6 LDR R2, [SP,#0x20+var_18]; float ; +0x42, 0x4233da MOV R0, R6; this ; +0x44, 0x4233dc BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x46, 0x4233de VLDR S15, [SP,#0x20+var_1C] ; +0x4a, 0x4233e2 LDR R2, [SP,#0x20+var_18]; float ; +0x4e, 0x4233e6 MOV R0, R4; this ; +0x50, 0x4233e8 VSUB.F32 S15, S15, S16 ; +0x52, 0x4233ea VMOV R1, S15; float ; +0x56, 0x4233ee BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x5a, 0x4233f2 MOV R0, R6; this ; +0x5e, 0x4233f6 MOV R1, R4; cocos2d::CCPoint * ; +0x60, 0x4233f8 BL _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x62, 0x4233fa VMOV R1, S16; float ; +0x66, 0x4233fe MOVS R2, #0; float ; +0x6a, 0x423402 MOV R0, R6; this ; +0x6c, 0x423404 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x6e, 0x423406 VLDR S15, [SP,#0x20+var_1C] ; +0x72, 0x42340a MOVS R2, #0; float ; +0x76, 0x42340e MOV R0, R4; this ; +0x78, 0x423410 VSUB.F32 S15, S15, S16 ; +0x7a, 0x423412 VMOV R1, S15; float ; +0x7e, 0x423416 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x82, 0x42341a MOV R0, R6; this ; +0x86, 0x42341e MOV R1, R4; cocos2d::CCPoint * ; +0x88, 0x423420 BL _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x8a, 0x423422 LDR R2, [SP,#0x20+var_4] ; +0x8e, 0x423426 LDR R3, [R5] ; +0x90, 0x423428 CMP R2, R3 ; +0x92, 0x42342a BEQ loc_423432 ; +0x94, 0x42342c BLX __stack_chk_fail ; +0x96, 0x42342e ADD SP, SP, #0x20 ; ' ' ; +0x9a, 0x423432 VPOP {D8} ; +0x9c, 0x423434 POP {R4-R6,PC} ; +0xa0, 0x423438