; ; CustomSFXCell::loadFromObject from 0x6158a8 to 0x6159ac (260 bytes) ; ; 3 xrefs: ; > CustomListView::reloadAll @ 0x61e1a8 ; > CustomListView::loadCell @ 0x620500 ; > @ 0x33288 ; ; 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, 0x6158a8 MOV X29, SP ; +0x4, 0x6158ac STP X19, X20, [SP,#0x50+var_40] ; +0x8, 0x6158b0 LDR X2, [X0,#0x208] ; +0xc, 0x6158b4 ADRP X20, #__stack_chk_guard_ptr@PAGE ; +0x10, 0x6158b8 MOV X19, X0 ; +0x14, 0x6158bc MOV X0, X2 ; +0x18, 0x6158c0 LDR X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x6158c4 LDR X2, [X2] ; +0x20, 0x6158c8 STP X21, X22, [SP,#0x50+var_30] ; +0x24, 0x6158cc LDR X3, [X20] ; +0x28, 0x6158d0 MOV X22, X1 ; +0x2c, 0x6158d4 LDR X2, [X2,#0x238] ; +0x30, 0x6158d8 MOV W1, #1 ; +0x34, 0x6158dc STR X3, [X29,#0x50+var_8] ; +0x38, 0x6158e0 ADD X21, X29, #0x50+var_10 ; +0x3c, 0x6158e4 BLR X2 ; +0x40, 0x6158e8 STR X22, [X19,#0x220] ; +0x44, 0x6158ec LDRB W6, [X19,#0x229]; bool ; +0x48, 0x6158f0 MOV W2, #(dword_0+1); CustomSFXDelegate * ; +0x4c, 0x6158f4 MOV W4, W2; bool ; +0x50, 0x6158f8 MOV W5, #0; bool ; +0x54, 0x6158fc MOV W3, W2; bool ; +0x58, 0x615900 ADD X1, X19, #0x218; SFXInfoObject * ; +0x5c, 0x615904 MOV X0, X22; this ; +0x60, 0x615908 BL _ZN15CustomSFXWidget6createEP13SFXInfoObjectP17CustomSFXDelegatebbbbb; CustomSFXWidget::create(SFXInfoObject *,CustomSFXDelegate *,bool,bool,bool,bool,bool) ; +0x64, 0x61590c MOV X1, X0 ; +0x68, 0x615910 LDR X3, [X19,#0x208] ; +0x6c, 0x615914 MOV X22, X0 ; +0x70, 0x615918 MOV W2, #2 ; +0x74, 0x61591c MOV X0, X3 ; +0x78, 0x615920 LDR X3, [X3] ; +0x7c, 0x615924 LDR X3, [X3,#0x1C0] ; +0x80, 0x615928 BLR X3 ; +0x84, 0x61592c STR X21, [X29,#0x50+var_18] ; +0x88, 0x615930 LDR S2, [X19,#0x1FC] ; +0x8c, 0x615934 LDR X2, [X22] ; +0x90, 0x615938 LDR S0, [X19,#0x1F8] ; +0x94, 0x61593c MOV X0, X21; this ; +0x98, 0x615940 FMOV S1, #0.5 ; +0x9c, 0x615944 LDR X21, [X2,#0xB8] ; +0xa0, 0x615948 FMUL S0, S0, S1; float ; +0xa4, 0x61594c FMUL S1, S2, S1; float ; +0xa8, 0x615950 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xac, 0x615954 LDR X1, [X29,#0x50+var_18] ; +0xb0, 0x615958 MOV X0, X22 ; +0xb4, 0x61595c BLR X21 ; +0xb8, 0x615960 LDR X1, [X19] ; +0xbc, 0x615964 MOV X0, X19 ; +0xc0, 0x615968 LDR X2, [X19,#0x220] ; +0xc4, 0x61596c LDR X1, [X1,#0x478] ; +0xc8, 0x615970 LDR W21, [X2,#0x38] ; +0xcc, 0x615974 BLR X1 ; +0xd0, 0x615978 CMP W21, W0 ; +0xd4, 0x61597c LDR X2, [X29,#0x50+var_8] ; +0xd8, 0x615980 CSET W0, EQ ; +0xdc, 0x615984 LDR X1, [X20] ; +0xe0, 0x615988 STRB W0, [X19,#0x228] ; +0xe4, 0x61598c CMP X2, X1 ; +0xe8, 0x615990 B.NE loc_6159A8 ; +0xec, 0x615994 LDP X19, X20, [SP,#0x50+var_40] ; +0xf0, 0x615998 LDP X21, X22, [SP,#0x50+var_30] ; +0xf4, 0x61599c LDP X29, X30, [SP+0x50+var_50],#0x50 ; +0xf8, 0x6159a0 RET ; +0xfc, 0x6159a4 BL .__stack_chk_fail ; +0x100, 0x6159a8