{"type": "func", "start": 8831312, "end": 8831780, "name": "CustomSongWidget::create", "pseudocode": "// \n// CustomSongWidget::create from 0x86c150 to 0x86c324 (468 bytes)\n// \n// 7 xrefs:\n// > CustomSongCell::loadFromObject @ 0x7381ec\n// > CustomMusicCell::loadFromObject @ 0x738928\n// > LevelInfoLayer::init @ 0x7ebb7c\n// > SongSelectNode::init @ 0x980390\n// > CustomSongLayer::init @ 0x9811cc\n// > AudioAssetsPopup::init @ 0xc8e4d4\n// > <???> @ 0x50aa0\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:55:43 +0000\n// \n\n__int64 __fastcall CustomSongWidget::create(\n        CustomSongWidget *this,\n        SongInfoObject *a2,\n        CustomSongDelegate *a3,\n        char a4,\n        char a5,\n        char a6,\n        unsigned __int8 a7,\n        bool a8,\n        int a9,\n        bool a10,\n        bool a11,\n        bool a12)\n{\n  char v15; // w25\n  __int64 v20; // x19\n  __int64 v22; // x1\n  __int64 v23; // x0\n\n  v15 = (char)a3;\n  v20 = operator new(0x290u);\n  cocos2d::CCNode::CCNode((cocos2d::CCNode *)v20);\n  *(_QWORD *)(v20 + 336) = 0;\n  *(_QWORD *)v20 = &off_1442B00;\n  *(_QWORD *)(v20 + 320) = &off_1442EE8;\n  *(_QWORD *)(v20 + 328) = &off_1442F58;\n  *(_DWORD *)(v20 + 508) = 0;\n  *(_QWORD *)(v20 + 352) = 0;\n  *(_QWORD *)(v20 + 360) = 0;\n  *(_QWORD *)(v20 + 368) = 0;\n  *(_QWORD *)(v20 + 384) = 0;\n  *(_QWORD *)(v20 + 400) = 0;\n  *(_QWORD *)(v20 + 416) = 0;\n  *(_QWORD *)(v20 + 432) = 0;\n  *(_QWORD *)(v20 + 448) = 0;\n  *(_QWORD *)(v20 + 456) = 0;\n  *(_QWORD *)(v20 + 464) = 0;\n  *(_QWORD *)(v20 + 472) = 0;\n  *(_QWORD *)(v20 + 480) = 0;\n  *(_QWORD *)(v20 + 488) = 0;\n  *(_BYTE *)(v20 + 496) = 0;\n  *(_BYTE *)(v20 + 497) = 0;\n  *(_BYTE *)(v20 + 498) = 0;\n  *(_BYTE *)(v20 + 499) = 0;\n  *(_BYTE *)(v20 + 500) = 0;\n  *(_BYTE *)(v20 + 501) = 0;\n  *(_BYTE *)(v20 + 502) = 0;\n  *(_DWORD *)(v20 + 504) = 0;\n  *(_BYTE *)(v20 + 512) = 0;\n  *(_QWORD *)(v20 + 520) = 0;\n  *(_BYTE *)(v20 + 528) = 0;\n  *(_BYTE *)(v20 + 529) = 0;\n  *(_QWORD *)(v20 + 536) = 0;\n  *(_BYTE *)(v20 + 544) = 0;\n  *(_BYTE *)(v20 + 545) = 0;\n  *(_QWORD *)(v20 + 632) = v20 + 640;\n  *(_QWORD *)(v20 + 560) = 0;\n  *(_QWORD *)(v20 + 568) = 0;\n  *(_QWORD *)(v20 + 552) = v20 + 560;\n  *(_QWORD *)(v20 + 584) = 0;\n  *(_QWORD *)(v20 + 592) = 0;\n  *(_QWORD *)(v20 + 576) = v20 + 584;\n  *(_QWORD *)(v20 + 600) = 0;\n  *(_QWORD *)(v20 + 608) = 0;\n  *(_QWORD *)(v20 + 616) = 0;\n  *(_DWORD *)(v20 + 624) = 0;\n  *(_DWORD *)(v20 + 628) = 0;\n  *(_QWORD *)(v20 + 640) = 0;\n  *(_QWORD *)(v20 + 648) = 0;\n  if ( (unsigned __int8)CustomSongWidget::init((CustomSongWidget *)v20, this, a2, v15, a4, a5, a6, a7, a8, a9, a10, a11) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v20);\n  }\n  else\n  {\n    v22 = *(_QWORD *)v20;\n    v23 = v20;\n    v20 = 0;\n    (*(void (__fastcall **)(__int64))(v22 + 16))(v23);\n  }\n  return v20;\n}", "assembly": "; \n; CustomSongWidget::create from 0x86c150 to 0x86c324 (468 bytes)\n; \n; 7 xrefs:\n; > CustomSongCell::loadFromObject @ 0x7381ec\n; > CustomMusicCell::loadFromObject @ 0x738928\n; > LevelInfoLayer::init @ 0x7ebb7c\n; > SongSelectNode::init @ 0x980390\n; > CustomSongLayer::init @ 0x9811cc\n; > AudioAssetsPopup::init @ 0xc8e4d4\n; > <???> @ 0x50aa0\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:55:43 +0000\n; \nSUB             SP, SP, #0x80                                          ; +0x0, 0x86c150\nSTP             X29, X30, [SP,#0x80+var_60]                            ; +0x4, 0x86c154\nADD             X29, SP, #0x20                                         ; +0x8, 0x86c158\nSTR             X27, [SP,#0x80+var_10]                                 ; +0xc, 0x86c15c\nMOV             X27, X0                                                ; +0x10, 0x86c160\nMOV             X0, #0x290; unsigned __int64                           ; +0x14, 0x86c164\nSTP             X19, X20, [SP,#0x80+var_50]                            ; +0x18, 0x86c168\nSTP             X21, X22, [SP,#0x80+var_40]                            ; +0x1c, 0x86c16c\nSTP             X23, X24, [SP,#0x80+var_30]                            ; +0x20, 0x86c170\nSTP             X25, X26, [SP,#0x80+var_20]                            ; +0x24, 0x86c174\nUXTB            W24, W3                                                ; +0x28, 0x86c178\nMOV             X26, X1                                                ; +0x2c, 0x86c17c\nUXTB            W25, W2                                                ; +0x30, 0x86c180\nUXTB            W23, W4                                                ; +0x34, 0x86c184\nUXTB            W22, W5                                                ; +0x38, 0x86c188\nUXTB            W21, W6                                                ; +0x3c, 0x86c18c\nUXTB            W20, W7                                                ; +0x40, 0x86c190\nBL              _Znwm; operator new(ulong)                             ; +0x44, 0x86c194\nMOV             X19, X0                                                ; +0x48, 0x86c198\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0x4c, 0x86c19c\nADRP            X3, #_ZTV16CustomSongWidget_ptr@PAGE                   ; +0x50, 0x86c1a0\nADD             X8, X19, #0x280                                        ; +0x54, 0x86c1a4\nFMOV            S0, WZR                                                ; +0x58, 0x86c1a8\nADD             X10, X19, #0x230                                       ; +0x5c, 0x86c1ac\nADD             X9, X19, #0x248                                        ; +0x60, 0x86c1b0\nMOV             X0, X19; this                                          ; +0x64, 0x86c1b4\nLDR             X3, [X3,#_ZTV16CustomSongWidget_ptr@PAGEOFF]; `vtable for'CustomSongWidget ... ; +0x68, 0x86c1b8\nMOV             X1, X27; SongInfoObject *                              ; +0x6c, 0x86c1bc\nSTR             XZR, [X19,#0x150]                                      ; +0x70, 0x86c1c0\nMOV             X2, X26; CustomSongDelegate *                          ; +0x74, 0x86c1c4\nADD             X4, X3, #0x10                                          ; +0x78, 0x86c1c8\nADD             X5, X3, #0x3F8                                         ; +0x7c, 0x86c1cc\nSTR             X4, [X19]                                              ; +0x80, 0x86c1d0\nADD             X4, X3, #0x468                                         ; +0x84, 0x86c1d4\nSTR             X5, [X19,#0x140]                                       ; +0x88, 0x86c1d8\nMOV             W3, W25; bool                                          ; +0x8c, 0x86c1dc\nSTR             X4, [X19,#0x148]                                       ; +0x90, 0x86c1e0\nMOV             W5, W23; bool                                          ; +0x94, 0x86c1e4\nSTR             S0, [X19,#0x1FC]                                       ; +0x98, 0x86c1e8\nSTR             XZR, [X19,#0x160]                                      ; +0x9c, 0x86c1ec\nSTR             XZR, [X19,#0x168]                                      ; +0xa0, 0x86c1f0\nMOV             W4, W24; bool                                          ; +0xa4, 0x86c1f4\nSTR             XZR, [X19,#0x170]                                      ; +0xa8, 0x86c1f8\nMOV             W6, W22; bool                                          ; +0xac, 0x86c1fc\nSTR             XZR, [X19,#0x180]                                      ; +0xb0, 0x86c200\nMOV             W7, W21; bool                                          ; +0xb4, 0x86c204\nSTR             XZR, [X19,#0x190]                                      ; +0xb8, 0x86c208\nSTR             XZR, [X19,#0x1A0]                                      ; +0xbc, 0x86c20c\nSTR             XZR, [X19,#0x1B0]                                      ; +0xc0, 0x86c210\nSTR             XZR, [X19,#0x1C0]                                      ; +0xc4, 0x86c214\nSTR             XZR, [X19,#0x1C8]                                      ; +0xc8, 0x86c218\nSTR             XZR, [X19,#0x1D0]                                      ; +0xcc, 0x86c21c\nSTR             XZR, [X19,#0x1D8]                                      ; +0xd0, 0x86c220\nSTR             XZR, [X19,#0x1E0]                                      ; +0xd4, 0x86c224\nSTR             XZR, [X19,#0x1E8]                                      ; +0xd8, 0x86c228\nSTRB            WZR, [X19,#0x1F0]                                      ; +0xdc, 0x86c22c\nSTRB            WZR, [X19,#0x1F1]                                      ; +0xe0, 0x86c230\nSTRB            WZR, [X19,#0x1F2]                                      ; +0xe4, 0x86c234\nSTRB            WZR, [X19,#0x1F3]                                      ; +0xe8, 0x86c238\nSTRB            WZR, [X19,#0x1F4]                                      ; +0xec, 0x86c23c\nSTRB            WZR, [X19,#0x1F5]                                      ; +0xf0, 0x86c240\nSTRB            WZR, [X19,#0x1F6]                                      ; +0xf4, 0x86c244\nSTR             WZR, [X19,#0x1F8]                                      ; +0xf8, 0x86c248\nSTRB            WZR, [X19,#0x200]                                      ; +0xfc, 0x86c24c\nSTR             XZR, [X19,#0x208]                                      ; +0x100, 0x86c250\nSTRB            WZR, [X19,#0x210]                                      ; +0x104, 0x86c254\nSTRB            WZR, [X19,#0x211]                                      ; +0x108, 0x86c258\nSTR             XZR, [X19,#0x218]                                      ; +0x10c, 0x86c25c\nSTRB            WZR, [X19,#0x220]                                      ; +0x110, 0x86c260\nSTRB            WZR, [X19,#0x221]                                      ; +0x114, 0x86c264\nSTR             X8, [X19,#0x278]                                       ; +0x118, 0x86c268\nSTR             XZR, [X19,#0x230]                                      ; +0x11c, 0x86c26c\nSTR             XZR, [X19,#0x238]                                      ; +0x120, 0x86c270\nSTR             X10, [X19,#0x228]                                      ; +0x124, 0x86c274\nSTR             XZR, [X19,#0x248]                                      ; +0x128, 0x86c278\nSTR             XZR, [X19,#0x250]                                      ; +0x12c, 0x86c27c\nSTR             X9, [X19,#0x240]                                       ; +0x130, 0x86c280\nSTR             XZR, [X19,#0x258]                                      ; +0x134, 0x86c284\nSTR             XZR, [X19,#0x260]                                      ; +0x138, 0x86c288\nSTR             XZR, [X19,#0x268]                                      ; +0x13c, 0x86c28c\nSTR             WZR, [X19,#0x270]                                      ; +0x140, 0x86c290\nSTR             WZR, [X19,#0x274]                                      ; +0x144, 0x86c294\nSTR             XZR, [X19,#0x280]                                      ; +0x148, 0x86c298\nSTR             XZR, [X19,#0x288]                                      ; +0x14c, 0x86c29c\nLDR             W8, [X29,#0x60+arg_0]                                  ; +0x150, 0x86c2a0\nSTR             W8, [SP,#0x80+var_78]; int                             ; +0x154, 0x86c2a4\nLDRB            W8, [X29,#0x60+arg_8]                                  ; +0x158, 0x86c2a8\nSTRB            W8, [SP,#0x80+var_70]; bool                            ; +0x15c, 0x86c2ac\nLDRB            W8, [X29,#0x60+arg_10]                                 ; +0x160, 0x86c2b0\nSTRB            W20, [SP,#0x80+var_80]; bool                           ; +0x164, 0x86c2b4\nSTRB            W8, [SP,#0x80+var_68]; bool                            ; +0x168, 0x86c2b8\nBL              _ZN16CustomSongWidget4initEP14SongInfoObjectP18CustomSongDelegatebbbbbbibb; CustomSongWidget::init(SongInfoObject *,CustomSongDelegate *,bool,bool,bool,bool,bool,bool,int,bool,bool) ; +0x16c, 0x86c2bc\nUXTB            W0, W0                                                 ; +0x170, 0x86c2c0\nCBZ             W0, loc_86C2F8                                         ; +0x174, 0x86c2c4\nMOV             X0, X19; this                                          ; +0x178, 0x86c2c8\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x17c, 0x86c2cc\nSUB             SP, X29, #0x20 ; ' '                                   ; +0x180, 0x86c2d0\nMOV             X0, X19                                                ; +0x184, 0x86c2d4\nLDP             X19, X20, [SP,#0x80+var_50]                            ; +0x188, 0x86c2d8\nLDP             X21, X22, [SP,#0x80+var_40]                            ; +0x18c, 0x86c2dc\nLDP             X23, X24, [SP,#0x80+var_30]                            ; +0x190, 0x86c2e0\nLDP             X25, X26, [SP,#0x80+var_20]                            ; +0x194, 0x86c2e4\nLDR             X27, [SP,#0x80+var_10]                                 ; +0x198, 0x86c2e8\nLDP             X29, X30, [SP,#0x80+var_60]                            ; +0x19c, 0x86c2ec\nADD             SP, SP, #0x80                                          ; +0x1a0, 0x86c2f0\nRET                                                                    ; +0x1a4, 0x86c2f4\nLDR             X1, [X19]                                              ; +0x1a8, 0x86c2f8\nMOV             X0, X19                                                ; +0x1ac, 0x86c2fc\nMOV             X19, #0                                                ; +0x1b0, 0x86c300\nLDR             X1, [X1,#0x10]                                         ; +0x1b4, 0x86c304\nBLR             X1                                                     ; +0x1b8, 0x86c308\nB               loc_86C2D0                                             ; +0x1bc, 0x86c30c\nMOV             X20, X0                                                ; +0x1c0, 0x86c310\nMOV             X0, X19; void *                                        ; +0x1c4, 0x86c314\nBL              _ZdlPv; operator delete(void *)                        ; +0x1c8, 0x86c318\nMOV             X0, X20                                                ; +0x1cc, 0x86c31c\nBL              _Unwind_Resume                                         ; +0x1d0, 0x86c320", "xrefs": ["CustomSongCell::loadFromObject @ 0x7381ec", "CustomMusicCell::loadFromObject @ 0x738928", "LevelInfoLayer::init @ 0x7ebb7c", "SongSelectNode::init @ 0x980390", "CustomSongLayer::init @ 0x9811cc", "AudioAssetsPopup::init @ 0xc8e4d4", "<???> @ 0x50aa0"], "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"}