{"type": "func", "start": 7571592, "end": 7571972, "name": "CustomMusicCell::loadFromObject", "pseudocode": "// \n// CustomMusicCell::loadFromObject from 0x738888 to 0x738a04 (380 bytes)\n// \n// 2 xrefs:\n// > CustomListView::loadCell @ 0x74d2f4\n// > <???> @ 0xa1aa0\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 CustomMusicCell::loadFromObject(CustomMusicCell *this, SongInfoObject *a2)\n{\n  __int64 v4; // x0\n  bool v5; // zf\n  CustomSongWidget *v6; // x0\n  bool v7; // w8\n  CustomSongWidget *v8; // x21\n  void (__fastcall *v9)(CustomSongWidget *, _BYTE *); // x23\n  int v10; // w20\n  bool v12; // [xsp+18h] [xbp-8h]\n  _BYTE v13[8]; // [xsp+70h] [xbp+50h] 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 = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v4 + 64LL))(v4) == 1;\n    v6 = *((CustomSongWidget **)this + 70);\n    v7 = v5;\n  }\n  else\n  {\n    v6 = a2;\n    v7 = 1;\n  }\n  v8 = (CustomSongWidget *)CustomSongWidget::create(\n                             v6,\n                             (CustomMusicCell *)((char *)this + 552),\n                             (CustomSongDelegate *)((char *)&dword_0 + 1),\n                             (bool)&dword_0 + 1,\n                             (bool)&dword_0 + 1,\n                             0,\n                             0,\n                             (bool)&dword_0 + 1,\n                             v7,\n                             (bool)&dword_0 + 1,\n                             0,\n                             v12);\n  (*(void (__fastcall **)(_QWORD, CustomSongWidget *, __int64))(**((_QWORD **)this + 67) + 464LL))(\n    *((_QWORD *)this + 67),\n    v8,\n    2);\n  v9 = *(void (__fastcall **)(CustomSongWidget *, _BYTE *))(*(_QWORD *)v8 + 184LL);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, *((float *)this + 130) * 0.5, *((float *)this + 131) * 0.5);\n  v9(v8, v13);\n  *((_BYTE *)v8 + 512) = (unsigned __int8)&dword_0 + 1;\n  CustomSongWidget::addExtraVisuals(\n    v8,\n    *(_BYTE *)(*((_QWORD *)this + 70) + 448LL),\n    *(_DWORD *)(*((_QWORD *)this + 70) + 452LL) > 0);\n  v10 = *(_DWORD *)(*((_QWORD *)this + 70) + 316LL);\n  *((_BYTE *)this + 568) = v10 == (*(unsigned int (__fastcall **)(CustomMusicCell *))(*(_QWORD *)this + 1160LL))(this);\n  return _stack_chk_guard;\n}", "assembly": "; \n; CustomMusicCell::loadFromObject from 0x738888 to 0x738a04 (380 bytes)\n; \n; 2 xrefs:\n; > CustomListView::loadCell @ 0x74d2f4\n; > <???> @ 0xa1aa0\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, #0x80                                          ; +0x0, 0x738888\nSTP             X29, X30, [SP,#0x80+var_60]                            ; +0x4, 0x73888c\nADD             X29, SP, #0x20                                         ; +0x8, 0x738890\nSTP             X21, X22, [SP,#0x80+var_40]                            ; +0xc, 0x738894\nSTP             X19, X20, [SP,#0x80+var_50]                            ; +0x10, 0x738898\nSTR             X23, [SP,#0x80+var_30]                                 ; +0x14, 0x73889c\nADRP            X22, #__stack_chk_guard_ptr@PAGE                       ; +0x18, 0x7388a0\nMOV             X19, X0                                                ; +0x1c, 0x7388a4\nMOV             X21, X1                                                ; +0x20, 0x7388a8\nLDR             X2, [X0,#0x218]                                        ; +0x24, 0x7388ac\nMOV             W1, #1                                                 ; +0x28, 0x7388b0\nLDR             X3, [X22,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x2c, 0x7388b4\nMOV             X0, X2                                                 ; +0x30, 0x7388b8\nLDR             X2, [X2]                                               ; +0x34, 0x7388bc\nLDR             X3, [X3]                                               ; +0x38, 0x7388c0\nSTR             X3, [X29,#0x60+var_8]                                  ; +0x3c, 0x7388c4\nLDR             X2, [X2,#0x248]                                        ; +0x40, 0x7388c8\nBLR             X2                                                     ; +0x44, 0x7388cc\nSTR             X21, [X19,#0x230]                                      ; +0x48, 0x7388d0\nLDR             X0, [X19,#0x1A0]                                       ; +0x4c, 0x7388d4\nLDR             X0, [X0,#0x278]                                        ; +0x50, 0x7388d8\nCBZ             X0, loc_7389F4                                         ; +0x54, 0x7388dc\nLDR             X1, [X0]                                               ; +0x58, 0x7388e0\nLDR             X1, [X1,#0x40]                                         ; +0x5c, 0x7388e4\nBLR             X1                                                     ; +0x60, 0x7388e8\nCMP             W0, #1                                                 ; +0x64, 0x7388ec\nLDR             X0, [X19,#0x230]; this                                 ; +0x68, 0x7388f0\nCSET            W8, EQ                                                 ; +0x6c, 0x7388f4\nMOV             W20, #(dword_0+1)                                      ; +0x70, 0x7388f8\nMOV             W5, #0; bool                                           ; +0x74, 0x7388fc\nMOV             W4, W20; bool                                          ; +0x78, 0x738900\nMOV             W7, W20; bool                                          ; +0x7c, 0x738904\nMOV             W6, #0; bool                                           ; +0x80, 0x738908\nSTR             W8, [SP,#0x80+var_80]; bool                            ; +0x84, 0x73890c\nMOV             W3, W20; bool                                          ; +0x88, 0x738910\nMOV             W2, W20; CustomSongDelegate *                          ; +0x8c, 0x738914\nADD             X1, X19, #0x228; SongInfoObject *                      ; +0x90, 0x738918\nSTRB            W20, [SP,#0x80+var_78]; bool                           ; +0x94, 0x73891c\nSTRB            WZR, [SP,#0x80+var_70]; bool                           ; +0x98, 0x738920\nADD             X23, X29, #0x60+var_10                                 ; +0x9c, 0x738924\nBL              _ZN16CustomSongWidget6createEP14SongInfoObjectP18CustomSongDelegatebbbbbbibb; CustomSongWidget::create(SongInfoObject *,CustomSongDelegate *,bool,bool,bool,bool,bool,bool,int,bool,bool) ; +0xa0, 0x738928\nMOV             X21, X0                                                ; +0xa4, 0x73892c\nLDR             X3, [X19,#0x218]                                       ; +0xa8, 0x738930\nMOV             X1, X0                                                 ; +0xac, 0x738934\nMOV             W2, #2                                                 ; +0xb0, 0x738938\nMOV             X0, X3                                                 ; +0xb4, 0x73893c\nLDR             X3, [X3]                                               ; +0xb8, 0x738940\nLDR             X3, [X3,#0x1D0]                                        ; +0xbc, 0x738944\nBLR             X3                                                     ; +0xc0, 0x738948\nSTR             X23, [X29,#0x60+var_18]                                ; +0xc4, 0x73894c\nLDR             S2, [X19,#0x20C]                                       ; +0xc8, 0x738950\nLDR             X2, [X21]                                              ; +0xcc, 0x738954\nLDR             S0, [X19,#0x208]                                       ; +0xd0, 0x738958\nMOV             X0, X23; this                                          ; +0xd4, 0x73895c\nFMOV            S1, #0.5                                               ; +0xd8, 0x738960\nLDR             X23, [X2,#0xB8]                                        ; +0xdc, 0x738964\nFMUL            S0, S0, S1; float                                      ; +0xe0, 0x738968\nFMUL            S1, S2, S1; float                                      ; +0xe4, 0x73896c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xe8, 0x738970\nLDR             X1, [X29,#0x60+var_18]                                 ; +0xec, 0x738974\nMOV             X0, X21                                                ; +0xf0, 0x738978\nBLR             X23                                                    ; +0xf4, 0x73897c\nSTRB            W20, [X21,#0x200]                                      ; +0xf8, 0x738980\nMOV             X0, X21; this                                          ; +0xfc, 0x738984\nLDR             X1, [X19,#0x230]                                       ; +0x100, 0x738988\nLDR             W2, [X1,#0x1C4]                                        ; +0x104, 0x73898c\nLDRB            W1, [X1,#0x1C0]; bool                                  ; +0x108, 0x738990\nCMP             W2, WZR                                                ; +0x10c, 0x738994\nCSET            W2, GT; bool                                           ; +0x110, 0x738998\nBL              _ZN16CustomSongWidget15addExtraVisualsEbb; CustomSongWidget::addExtraVisuals(bool,bool) ; +0x114, 0x73899c\nLDR             X1, [X19]                                              ; +0x118, 0x7389a0\nMOV             X0, X19                                                ; +0x11c, 0x7389a4\nLDR             X2, [X19,#0x230]                                       ; +0x120, 0x7389a8\nLDR             X1, [X1,#0x488]                                        ; +0x124, 0x7389ac\nLDR             W20, [X2,#0x13C]                                       ; +0x128, 0x7389b0\nBLR             X1                                                     ; +0x12c, 0x7389b4\nCMP             W20, W0                                                ; +0x130, 0x7389b8\nCSET            W0, EQ                                                 ; +0x134, 0x7389bc\nSTRB            W0, [X19,#0x238]                                       ; +0x138, 0x7389c0\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x13c, 0x7389c4\nLDR             X22, [X22,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x140, 0x7389c8\nLDR             X0, [X22]                                              ; +0x144, 0x7389cc\nCMP             X1, X0                                                 ; +0x148, 0x7389d0\nB.NE            loc_738A00                                             ; +0x14c, 0x7389d4\nSUB             SP, X29, #0x20 ; ' '                                   ; +0x150, 0x7389d8\nLDP             X19, X20, [SP,#0x80+var_50]                            ; +0x154, 0x7389dc\nLDP             X21, X22, [SP,#0x80+var_40]                            ; +0x158, 0x7389e0\nLDR             X23, [SP,#0x80+var_30]                                 ; +0x15c, 0x7389e4\nLDP             X29, X30, [SP,#0x80+var_60]                            ; +0x160, 0x7389e8\nADD             SP, SP, #0x80                                          ; +0x164, 0x7389ec\nRET                                                                    ; +0x168, 0x7389f0\nMOV             X0, X21                                                ; +0x16c, 0x7389f4\nMOV             W8, #1                                                 ; +0x170, 0x7389f8\nB               loc_7388F8                                             ; +0x174, 0x7389fc\nBL              .__stack_chk_fail                                      ; +0x178, 0x738a00", "xrefs": ["CustomListView::loadCell @ 0x74d2f4", "<???> @ 0xa1aa0"], "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"}