; ; CustomSFXCell::draw from 0x609778 to 0x609860 (232 bytes) ; ; 2 xrefs: ; > @ 0xc2058 ; > @ 0x114dad8 ; ; 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 ; STP X29, X30, [SP,#var_50]! ; +0x0, 0x609778 MOV X1, X0 ; +0x4, 0x60977c MOV X29, SP ; +0x8, 0x609780 STR X21, [SP,#0x50+var_30] ; +0xc, 0x609784 ADRP X21, #__stack_chk_guard_ptr@PAGE ; +0x10, 0x609788 LDR S1, [X1,#0x1FC]; float ; +0x14, 0x60978c ADD X0, X29, #0x50+var_20; this ; +0x18, 0x609790 LDR S0, [X1,#0x1F8]; float ; +0x1c, 0x609794 LDR X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x609798 STR D8, [SP,#0x50+var_28] ; +0x24, 0x60979c FMOV S8, #1.0 ; +0x28, 0x6097a0 LDR X1, [X21] ; +0x2c, 0x6097a4 STP X19, X20, [SP,#0x50+var_40] ; +0x30, 0x6097a8 STR X1, [X29,#0x50+var_8] ; +0x34, 0x6097ac ADD X20, X29, #0x50+var_18 ; +0x38, 0x6097b0 BL _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x3c, 0x6097b4 ADD X19, X29, #0x50+var_10 ; +0x40, 0x6097b8 MOV W2, #0; unsigned __int8 ; +0x44, 0x6097bc MOV W3, #0x4B ; 'K'; unsigned __int8 ; +0x48, 0x6097c0 MOV W1, #0; unsigned __int8 ; +0x4c, 0x6097c4 MOV W0, #0; this ; +0x50, 0x6097c8 BL _ZN7cocos2d13ccDrawColor4BEhhhh; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x54, 0x6097cc FMOV S0, #2.0 ; +0x58, 0x6097d0 BL .glLineWidth ; +0x5c, 0x6097d4 LDR S1, [X29,#0x50+var_1C]; float ; +0x60, 0x6097d8 MOV X0, X20; this ; +0x64, 0x6097dc FMOV S0, S8; float ; +0x68, 0x6097e0 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x6c, 0x6097e4 LDR S0, [X29,#0x50+var_20] ; +0x70, 0x6097e8 MOV X0, X19; this ; +0x74, 0x6097ec LDR S1, [X29,#0x50+var_1C]; float ; +0x78, 0x6097f0 FSUB S0, S0, S8; float ; +0x7c, 0x6097f4 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x80, 0x6097f8 MOV X1, X19; cocos2d::CCPoint * ; +0x84, 0x6097fc MOV X0, X20; this ; +0x88, 0x609800 BL _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x8c, 0x609804 FMOV S1, WZR; float ; +0x90, 0x609808 MOV X0, X20; this ; +0x94, 0x60980c FMOV S0, S8; float ; +0x98, 0x609810 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x9c, 0x609814 LDR S0, [X29,#0x50+var_20] ; +0xa0, 0x609818 MOV X0, X19; this ; +0xa4, 0x60981c FMOV S1, WZR; float ; +0xa8, 0x609820 FSUB S0, S0, S8; float ; +0xac, 0x609824 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xb0, 0x609828 MOV X0, X20; this ; +0xb4, 0x60982c MOV X1, X19; cocos2d::CCPoint * ; +0xb8, 0x609830 BL _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0xbc, 0x609834 LDR X1, [X29,#0x50+var_8] ; +0xc0, 0x609838 LDR X0, [X21] ; +0xc4, 0x60983c CMP X1, X0 ; +0xc8, 0x609840 B.NE loc_60985C ; +0xcc, 0x609844 LDP X19, X20, [SP,#0x50+var_40] ; +0xd0, 0x609848 LDR X21, [SP,#0x50+var_30] ; +0xd4, 0x60984c LDR D8, [SP,#0x50+var_28] ; +0xd8, 0x609850 LDP X29, X30, [SP+0x50+var_50],#0x50 ; +0xdc, 0x609854 RET ; +0xe0, 0x609858 BL .__stack_chk_fail ; +0xe4, 0x60985c