{"type": "func", "start": 7570580, "end": 7570992, "name": "CustomSFXCell::loadFromObject", "pseudocode": "// \n// CustomSFXCell::loadFromObject from 0x738494 to 0x738630 (412 bytes)\n// \n// 3 xrefs:\n// > CustomListView::reloadAll @ 0x7490f8\n// > CustomListView::loadCell @ 0x74d324\n// > <???> @ 0x4ba60\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:52:40 +0000\n// \n\n__int64 __fastcall CustomSFXCell::loadFromObject(CustomSFXCell *this, SFXInfoObject *a2)\n{\n  __int64 v4; // x0\n  char v5; // w0\n  __int64 v6; // x22\n  void (__fastcall *v7)(__int64, _BYTE *); // x21\n  bool v8; // zf\n  bool v9; // w0\n  __int64 v10; // x1\n  char v11; // w0\n  int v13; // w21\n  bool v14; // [xsp+8h] [xbp-8h]\n  _BYTE v15[8]; // [xsp+50h] [xbp+40h] BYREF\n\n  (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 67) + 584LL))(*((_QWORD *)this + 67), 1);\n  *((_QWORD *)this + 70) = a2;\n  v4 = *(_QWORD *)(*((_QWORD *)this + 52) + 632LL);\n  if ( v4 )\n  {\n    v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 24LL))(v4);\n    a2 = *((SFXInfoObject **)this + 70);\n  }\n  else\n  {\n    v5 = 0;\n  }\n  v6 = CustomSFXWidget::create(\n         a2,\n         (CustomSFXCell *)((char *)this + 552),\n         (CustomSFXDelegate *)((char *)&dword_0 + 1),\n         (bool)&dword_0 + 1,\n         (bool)&dword_0 + 1,\n         0,\n         *((_BYTE *)this + 570),\n         (bool)&dword_0 + 1,\n         v5,\n         v14);\n  (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(*((_QWORD *)this + 67), v6, 2);\n  v7 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v6 + 184LL);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, *((float *)this + 130) * 0.5, *((float *)this + 131) * 0.5);\n  v7(v6, v15);\n  LODWORD(v7) = *(_DWORD *)(*((_QWORD *)this + 70) + 56LL);\n  v8 = (_DWORD)v7 == (*(unsigned int (__fastcall **)(CustomSFXCell *))(*(_QWORD *)this + 1160LL))(this);\n  v9 = 0;\n  if ( v8 )\n  {\n    v13 = *(_DWORD *)(*((_QWORD *)this + 70) + 76LL);\n    v9 = v13 == (*(unsigned int (__fastcall **)(CustomSFXCell *))(*(_QWORD *)this + 1168LL))(this);\n  }\n  v10 = *((_QWORD *)this + 70);\n  *((_BYTE *)this + 568) = v9;\n  if ( *(int *)(v10 + 76) <= 0 )\n    v11 = 0;\n  else\n    v11 = (*(__int64 (__fastcall **)(CustomSFXCell *))(*(_QWORD *)this + 1200LL))(this);\n  *((_BYTE *)this + 569) = v11;\n  return _stack_chk_guard;\n}", "assembly": "; \n; CustomSFXCell::loadFromObject from 0x738494 to 0x738630 (412 bytes)\n; \n; 3 xrefs:\n; > CustomListView::reloadAll @ 0x7490f8\n; > CustomListView::loadCell @ 0x74d324\n; > <???> @ 0x4ba60\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:52:40 +0000\n; \nSUB             SP, SP, #0x60                                          ; +0x0, 0x738494\nSTP             X29, X30, [SP,#0x60+var_50]                            ; +0x4, 0x738498\nADD             X29, SP, #0x10                                         ; +0x8, 0x73849c\nSTP             X19, X20, [SP,#0x60+var_40]                            ; +0xc, 0x7384a0\nSTP             X21, X22, [SP,#0x60+var_30]                            ; +0x10, 0x7384a4\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0x14, 0x7384a8\nMOV             X19, X0                                                ; +0x18, 0x7384ac\nLDR             X2, [X0,#0x218]                                        ; +0x1c, 0x7384b0\nMOV             X21, X1                                                ; +0x20, 0x7384b4\nMOV             W1, #1                                                 ; +0x24, 0x7384b8\nMOV             X0, X2                                                 ; +0x28, 0x7384bc\nLDR             X3, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x2c, 0x7384c0\nLDR             X2, [X2]                                               ; +0x30, 0x7384c4\nLDR             X3, [X3]                                               ; +0x34, 0x7384c8\nLDR             X2, [X2,#0x248]                                        ; +0x38, 0x7384cc\nSTR             X3, [X29,#0x50+var_8]                                  ; +0x3c, 0x7384d0\nBLR             X2                                                     ; +0x40, 0x7384d4\nSTR             X21, [X19,#0x230]                                      ; +0x44, 0x7384d8\nLDR             X0, [X19,#0x1A0]                                       ; +0x48, 0x7384dc\nLDR             X0, [X0,#0x278]                                        ; +0x4c, 0x7384e0\nCBZ             X0, loc_738600                                         ; +0x50, 0x7384e4\nLDR             X1, [X0]                                               ; +0x54, 0x7384e8\nLDR             X1, [X1,#0x18]                                         ; +0x58, 0x7384ec\nBLR             X1                                                     ; +0x5c, 0x7384f0\nLDR             X21, [X19,#0x230]                                      ; +0x60, 0x7384f4\nUXTB            W0, W0                                                 ; +0x64, 0x7384f8\nLDRB            W6, [X19,#0x23A]; bool                                 ; +0x68, 0x7384fc\nMOV             W2, #(dword_0+1); CustomSFXDelegate *                  ; +0x6c, 0x738500\nMOV             W4, W2; bool                                           ; +0x70, 0x738504\nMOV             W7, W2; bool                                           ; +0x74, 0x738508\nMOV             W5, #0; bool                                           ; +0x78, 0x73850c\nMOV             W3, W2; bool                                           ; +0x7c, 0x738510\nADD             X1, X19, #0x228; SFXInfoObject *                       ; +0x80, 0x738514\nSTRB            W0, [SP,#0x60+var_60]; bool                            ; +0x84, 0x738518\nMOV             X0, X21; this                                          ; +0x88, 0x73851c\nADD             X21, X29, #0x50+var_10                                 ; +0x8c, 0x738520\nBL              _ZN15CustomSFXWidget6createEP13SFXInfoObjectP17CustomSFXDelegatebbbbbbb; CustomSFXWidget::create(SFXInfoObject *,CustomSFXDelegate *,bool,bool,bool,bool,bool,bool,bool) ; +0x90, 0x738524\nMOV             X1, X0                                                 ; +0x94, 0x738528\nLDR             X3, [X19,#0x218]                                       ; +0x98, 0x73852c\nMOV             X22, X0                                                ; +0x9c, 0x738530\nMOV             W2, #2                                                 ; +0xa0, 0x738534\nMOV             X0, X3                                                 ; +0xa4, 0x738538\nLDR             X3, [X3]                                               ; +0xa8, 0x73853c\nLDR             X3, [X3,#0x1D0]                                        ; +0xac, 0x738540\nBLR             X3                                                     ; +0xb0, 0x738544\nSTR             X21, [X29,#0x50+var_18]                                ; +0xb4, 0x738548\nLDR             S2, [X19,#0x20C]                                       ; +0xb8, 0x73854c\nLDR             X2, [X22]                                              ; +0xbc, 0x738550\nLDR             S0, [X19,#0x208]                                       ; +0xc0, 0x738554\nMOV             X0, X21; this                                          ; +0xc4, 0x738558\nFMOV            S1, #0.5                                               ; +0xc8, 0x73855c\nLDR             X21, [X2,#0xB8]                                        ; +0xcc, 0x738560\nFMUL            S0, S0, S1; float                                      ; +0xd0, 0x738564\nFMUL            S1, S2, S1; float                                      ; +0xd4, 0x738568\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xd8, 0x73856c\nLDR             X1, [X29,#0x50+var_18]                                 ; +0xdc, 0x738570\nMOV             X0, X22                                                ; +0xe0, 0x738574\nBLR             X21                                                    ; +0xe4, 0x738578\nLDR             X1, [X19]                                              ; +0xe8, 0x73857c\nMOV             X0, X19                                                ; +0xec, 0x738580\nLDR             X2, [X19,#0x230]                                       ; +0xf0, 0x738584\nLDR             X1, [X1,#0x488]                                        ; +0xf4, 0x738588\nLDR             W21, [X2,#0x38]                                        ; +0xf8, 0x73858c\nBLR             X1                                                     ; +0xfc, 0x738590\nCMP             W21, W0                                                ; +0x100, 0x738594\nMOV             W0, #0                                                 ; +0x104, 0x738598\nB.EQ            loc_738608                                             ; +0x108, 0x73859c\nLDR             X1, [X19,#0x230]                                       ; +0x10c, 0x7385a0\nSTRB            W0, [X19,#0x238]                                       ; +0x110, 0x7385a4\nLDR             W1, [X1,#0x4C]                                         ; +0x114, 0x7385a8\nCMP             W1, WZR                                                ; +0x118, 0x7385ac\nB.LE            loc_7385F8                                             ; +0x11c, 0x7385b0\nLDR             X2, [X19]                                              ; +0x120, 0x7385b4\nMOV             X0, X19                                                ; +0x124, 0x7385b8\nLDR             X2, [X2,#0x4B0]                                        ; +0x128, 0x7385bc\nBLR             X2                                                     ; +0x12c, 0x7385c0\nUXTB            W0, W0                                                 ; +0x130, 0x7385c4\nSTRB            W0, [X19,#0x239]                                       ; +0x134, 0x7385c8\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x138, 0x7385cc\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x13c, 0x7385d0\nLDR             X0, [X20]                                              ; +0x140, 0x7385d4\nCMP             X1, X0                                                 ; +0x144, 0x7385d8\nB.NE            loc_73862C                                             ; +0x148, 0x7385dc\nSUB             SP, X29, #0x10                                         ; +0x14c, 0x7385e0\nLDP             X19, X20, [SP,#0x60+var_40]                            ; +0x150, 0x7385e4\nLDP             X21, X22, [SP,#0x60+var_30]                            ; +0x154, 0x7385e8\nLDP             X29, X30, [SP,#0x60+var_50]                            ; +0x158, 0x7385ec\nADD             SP, SP, #0x60 ; '`'                                    ; +0x15c, 0x7385f0\nRET                                                                    ; +0x160, 0x7385f4\nMOV             W0, #0                                                 ; +0x164, 0x7385f8\nB               loc_7385C8                                             ; +0x168, 0x7385fc\nMOV             W0, #0                                                 ; +0x16c, 0x738600\nB               loc_7384FC                                             ; +0x170, 0x738604\nLDR             X1, [X19]                                              ; +0x174, 0x738608\nMOV             X0, X19                                                ; +0x178, 0x73860c\nLDR             X2, [X19,#0x230]                                       ; +0x17c, 0x738610\nLDR             X1, [X1,#0x490]                                        ; +0x180, 0x738614\nLDR             W21, [X2,#0x4C]                                        ; +0x184, 0x738618\nBLR             X1                                                     ; +0x188, 0x73861c\nCMP             W21, W0                                                ; +0x18c, 0x738620\nCSET            W0, EQ                                                 ; +0x190, 0x738624\nB               loc_7385A0                                             ; +0x194, 0x738628\nBL              .__stack_chk_fail                                      ; +0x198, 0x73862c", "xrefs": ["CustomListView::reloadAll @ 0x7490f8", "CustomListView::loadCell @ 0x74d324", "<???> @ 0x4ba60"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}