; ; CCLightStrip::draw from 0x2fc580 to 0x2fc6c6 (326 bytes) ; ; 0 xrefs: ; ; 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-R10,LR} ; +0x0, 0x2fc580 MOV R4, R0 ; +0x4, 0x2fc584 LDR R5, =(__stack_chk_guard_ptr - 0x2FC590) ; +0x6, 0x2fc586 VPUSH {D8} ; +0x8, 0x2fc588 ADD R5, PC; __stack_chk_guard_ptr ; +0xc, 0x2fc58c LDR R5, [R5]; __stack_chk_guard ; +0xe, 0x2fc58e LDR R3, [R5] ; +0x10, 0x2fc590 SUB SP, SP, #0x48; unsigned __int8 ; +0x12, 0x2fc592 STR R3, [SP,#0x48+var_4] ; +0x14, 0x2fc594 LDR R3, [R0] ; +0x16, 0x2fc596 LDR.W R3, [R3,#0xA8] ; +0x18, 0x2fc598 BLX R3 ; +0x1c, 0x2fc59c CMP R0, #0 ; +0x1e, 0x2fc59e BEQ.W loc_2FC6B0 ; +0x20, 0x2fc5a0 MOVW R0, #(stru_2FC.st_value+2); this ; +0x24, 0x2fc5a4 MOVS R1, #1; unsigned int ; +0x28, 0x2fc5a8 BL _ZN7cocos2d13ccGLBlendFuncEjj; cocos2d::ccGLBlendFunc(uint,uint) ; +0x2a, 0x2fc5aa VLDR S15, [R4,#0x11C] ; +0x2e, 0x2fc5ae LDRB.W R0, [R4,#0x118]; this ; +0x32, 0x2fc5b2 ADD.W R9, SP, #0x48+var_24 ; +0x36, 0x2fc5b6 LDRB.W R1, [R4,#0x119]; unsigned __int8 ; +0x3a, 0x2fc5ba ADD.W R10, SP, #0x48+var_34 ; +0x3e, 0x2fc5be LDRB.W R2, [R4,#0x11A]; unsigned __int8 ; +0x42, 0x2fc5c2 VMOV.F32 S17, #0.5 ; +0x46, 0x2fc5c6 VCVT.U32.F32 S15, S15 ; +0x4a, 0x2fc5ca VSTR S15, [SP,#0x48+var_3C] ; +0x4e, 0x2fc5ce LDRB.W R3, [SP,#0x48+var_3C]; unsigned __int8 ; +0x52, 0x2fc5d2 BL _ZN7cocos2d13ccDrawColor4BEhhhh; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x56, 0x2fc5d6 VLDR S16, [R4,#0x108] ; +0x5a, 0x2fc5da MOVS R2, #0; float ; +0x5e, 0x2fc5de MOV R0, R9; this ; +0x60, 0x2fc5e0 VLDR S15, [R4,#0x120] ; +0x62, 0x2fc5e2 VMOV.F32 S14, #0.25 ; +0x66, 0x2fc5e6 VSUB.F32 S15, S15, S16 ; +0x6a, 0x2fc5ea VMLA.F32 S16, S15, S14 ; +0x6e, 0x2fc5ee VNMUL.F32 S15, S16, S17 ; +0x72, 0x2fc5f2 VMOV R1, S15; float ; +0x76, 0x2fc5f6 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x7a, 0x2fc5fa VMUL.F32 S15, S16, S17 ; +0x7e, 0x2fc5fe MOVS R2, #0; float ; +0x82, 0x2fc602 ADD R0, SP, #0x48+var_1C; this ; +0x84, 0x2fc604 VMOV R1, S15; float ; +0x86, 0x2fc606 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x8a, 0x2fc60a VLDR S15, [R4,#0x120] ; +0x8e, 0x2fc60e LDR.W R2, [R4,#0x124]; float ; +0x92, 0x2fc612 ADD R0, SP, #0x48+var_14; this ; +0x96, 0x2fc616 VMUL.F32 S15, S15, S17 ; +0x98, 0x2fc618 VMOV R1, S15; float ; +0x9c, 0x2fc61c BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xa0, 0x2fc620 VLDR S15, [R4,#0x120] ; +0xa4, 0x2fc624 LDR.W R2, [R4,#0x124]; float ; +0xa8, 0x2fc628 ADD R0, SP, #0x48+var_C; this ; +0xac, 0x2fc62c VNMUL.F32 S15, S15, S17 ; +0xae, 0x2fc62e VMOV R1, S15; float ; +0xb2, 0x2fc632 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xb6, 0x2fc636 LDRB.W R8, [R4,#0x118] ; +0xba, 0x2fc63a MOVS R1, #0; int ; +0xbe, 0x2fc63e MOVS R2, #0x10; size_t ; +0xc0, 0x2fc640 MOV R0, R10; void * ; +0xc2, 0x2fc642 LDRB.W R7, [R4,#0x119] ; +0xc4, 0x2fc644 LDRB.W R6, [R4,#0x11A] ; +0xc8, 0x2fc648 BLX memset ; +0xcc, 0x2fc64c VMOV S15, R8 ; +0xd0, 0x2fc650 ADD R3, SP, #0x48+var_2C ; +0xd4, 0x2fc654 VLDR S14, =255.0 ; +0xd6, 0x2fc656 VCVT.F32.S32 S15, S15 ; +0xda, 0x2fc65a VDIV.F32 S15, S15, S14 ; +0xde, 0x2fc65e VSTR S15, [SP,#0x48+var_34] ; +0xe2, 0x2fc662 VMOV S15, R7 ; +0xe6, 0x2fc666 VCVT.F32.S32 S15, S15 ; +0xea, 0x2fc66a VDIV.F32 S15, S15, S14 ; +0xee, 0x2fc66e VSTR S15, [SP,#0x48+var_30] ; +0xf2, 0x2fc672 VMOV S15, R6 ; +0xf6, 0x2fc676 VCVT.F32.S32 S15, S15 ; +0xfa, 0x2fc67a VDIV.F32 S15, S15, S14 ; +0xfe, 0x2fc67e VSTR S15, [SP,#0x48+var_2C] ; +0x102, 0x2fc682 VLDR S15, [R4,#0x11C] ; +0x106, 0x2fc686 VDIV.F32 S14, S15, S14 ; +0x10a, 0x2fc68a VSTR S14, [SP,#0x48+var_28] ; +0x10e, 0x2fc68e LDM.W R3, {R0,R1} ; +0x112, 0x2fc692 STMEA.W SP, {R0,R1} ; +0x116, 0x2fc696 MOV R0, R9 ; +0x11a, 0x2fc69a MOVS R1, #4 ; +0x11c, 0x2fc69c LDM.W R10, {R2,R3} ; +0x11e, 0x2fc69e BL _ZN7cocos2d15ccDrawSolidPolyEPKNS_7CCPointEjNS_10_ccColor4FE; cocos2d::ccDrawSolidPoly(cocos2d::CCPoint const*,uint,cocos2d::_ccColor4F) ; +0x122, 0x2fc6a2 MOVS R0, #(dword_0+1); this ; +0x126, 0x2fc6a6 MOVW R1, #0x303; unsigned int ; +0x128, 0x2fc6a8 BL _ZN7cocos2d13ccGLBlendFuncEjj; cocos2d::ccGLBlendFunc(uint,uint) ; +0x12c, 0x2fc6ac LDR R2, [SP,#0x48+var_4] ; +0x130, 0x2fc6b0 LDR R3, [R5] ; +0x132, 0x2fc6b2 CMP R2, R3 ; +0x134, 0x2fc6b4 BEQ loc_2FC6BC ; +0x136, 0x2fc6b6 BLX __stack_chk_fail ; +0x138, 0x2fc6b8 ADD SP, SP, #0x48 ; 'H' ; +0x13c, 0x2fc6bc VPOP {D8} ; +0x13e, 0x2fc6be POP.W {R4-R10,PC} ; +0x142, 0x2fc6c2