{"type": "func", "start": 5369146784, "end": 5369147054, "name": "ListButtonBar::create", "pseudocode": "// \n// ListButtonBar::create from 0x14006ada0 to 0x14006aeae (270 bytes)\n// \n// 5 xrefs:\n// > GJGarageLayer::setupPage @ 0x140276280\n// > GJGarageLayer::setupSpecialPage @ 0x140276bcd\n// > GJGarageLayer::setupSpecialPage @ 0x140276ce1\n// > GJShopLayer::init @ 0x1402ab63a\n// > <???> @ 0x1406c5fac\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nListButtonBar *ListButtonBar::create(\n        cocos2d::CCArray *a1,\n        cocos2d::CCPoint a2,\n        int a3,\n        int a4,\n        float a5,\n        float a6,\n        float a7,\n        float a8,\n        int a9)\n{\n  ListButtonBar *v13; // r14\n  cocos2d::CCPoint v14; // rax\n  int v16; // [rsp+48h] [rbp-20h]\n  ListButtonBar *v17; // [rsp+50h] [rbp-18h] BYREF\n\n  v13 = (ListButtonBar *)operator new(0x160u);\n  v17 = v13;\n  cocos2d::CCNode::CCNode(v13);\n  v13->__vftable = (ListButtonBar_vtbl *)&ListButtonBar::`vftable';\n  v13->m_scrollLayer = nullptr;\n  v13->m_pages = nullptr;\n  v13->m_delegate = nullptr;\n  v13->m_useMoveAnimation = 0;\n  v14 = (cocos2d::CCPoint)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v17, *(const struct cocos2d::CCPoint **)&a2);\n  if ( ListButtonBar::init(v13, a1, v14, a3, a4, a5, a6, a7, a8, v16) )\n  {\n    cocos2d::CCObject::autorelease(v13);\n    return v13;\n  }\n  else\n  {\n    ((void (__fastcall *)(ListButtonBar *, __int64))v13->~ListButtonBar)(v13, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; ListButtonBar::create from 0x14006ada0 to 0x14006aeae (270 bytes)\n; \n; 5 xrefs:\n; > GJGarageLayer::setupPage @ 0x140276280\n; > GJGarageLayer::setupSpecialPage @ 0x140276bcd\n; > GJGarageLayer::setupSpecialPage @ 0x140276ce1\n; > GJShopLayer::init @ 0x1402ab63a\n; > <???> @ 0x1406c5fac\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14006ada0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14006ada5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x14006adaa\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x14006adaf\npush    r14                                                            ; +0x14, 0x14006adb4\nsub     rsp, 60h                                                       ; +0x16, 0x14006adb6\nmov     esi, r9d                                                       ; +0x1a, 0x14006adba\nmov     ebp, r8d                                                       ; +0x1d, 0x14006adbd\nmov     rbx, rdx                                                       ; +0x20, 0x14006adc0\nmov     rdi, rcx                                                       ; +0x23, 0x14006adc3\nmov     ecx, 160h; Size                                                ; +0x26, 0x14006adc6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2b, 0x14006adcb\nmov     r14, rax                                                       ; +0x30, 0x14006add0\nmov     [rsp+68h+var_18], rax                                          ; +0x33, 0x14006add3\nmov     rcx, rax                                                       ; +0x38, 0x14006add8\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x3b, 0x14006addb\nlea     rax, ??_7ListButtonBar@@6B@; const ListButtonBar::`vftable'    ; +0x41, 0x14006ade1\nmov     [r14], rax                                                     ; +0x48, 0x14006ade8\nmov     qword ptr [r14+140h], 0                                        ; +0x4b, 0x14006adeb\nmov     qword ptr [r14+148h], 0                                        ; +0x56, 0x14006adf6\nmov     qword ptr [r14+150h], 0                                        ; +0x61, 0x14006ae01\nmov     byte ptr [r14+158h], 0                                         ; +0x6c, 0x14006ae0c\nmov     rdx, rbx                                                       ; +0x74, 0x14006ae14\nlea     rcx, [rsp+68h+var_18]                                          ; +0x77, 0x14006ae17\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x7c, 0x14006ae1c\nmov     r8, rax                                                        ; +0x82, 0x14006ae22\nmovss   xmm0, [rsp+68h+arg_38]                                         ; +0x85, 0x14006ae25\nmovss   [rsp+68h+var_28], xmm0                                         ; +0x8e, 0x14006ae2e\nmovss   xmm1, [rsp+68h+arg_30]                                         ; +0x94, 0x14006ae34\nmovss   [rsp+68h+var_30], xmm1                                         ; +0x9d, 0x14006ae3d\nmovss   xmm0, [rsp+68h+arg_28]                                         ; +0xa3, 0x14006ae43\nmovss   [rsp+68h+var_38], xmm0                                         ; +0xac, 0x14006ae4c\nmovss   xmm1, [rsp+68h+arg_20]                                         ; +0xb2, 0x14006ae52\nmovss   [rsp+68h+var_40], xmm1                                         ; +0xbb, 0x14006ae5b\nmov     [rsp+68h+var_48], esi                                          ; +0xc1, 0x14006ae61\nmov     r9d, ebp                                                       ; +0xc5, 0x14006ae65\nmov     rdx, rdi                                                       ; +0xc8, 0x14006ae68\nmov     rcx, r14                                                       ; +0xcb, 0x14006ae6b\ncall    ListButtonBar__init                                            ; +0xce, 0x14006ae6e\nmov     rcx, r14                                                       ; +0xd3, 0x14006ae73\ntest    al, al                                                         ; +0xd6, 0x14006ae76\njz      short loc_14006AE85                                            ; +0xd8, 0x14006ae78\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xda, 0x14006ae7a\nmov     rax, r14                                                       ; +0xe0, 0x14006ae80\njmp     short loc_14006AE93                                            ; +0xe3, 0x14006ae83\nmov     r8, [r14]                                                      ; +0xe5, 0x14006ae85\nmov     edx, 1                                                         ; +0xe8, 0x14006ae88\ncall    qword ptr [r8+8]                                               ; +0xed, 0x14006ae8d\nxor     eax, eax                                                       ; +0xf1, 0x14006ae91\nlea     r11, [rsp+68h+var_8]                                           ; +0xf3, 0x14006ae93\nmov     rbx, [r11+10h]                                                 ; +0xf8, 0x14006ae98\nmov     rbp, [r11+18h]                                                 ; +0xfc, 0x14006ae9c\nmov     rsi, [r11+20h]                                                 ; +0x100, 0x14006aea0\nmov     rdi, [r11+28h]                                                 ; +0x104, 0x14006aea4\nmov     rsp, r11                                                       ; +0x108, 0x14006aea8\npop     r14                                                            ; +0x10b, 0x14006aeab\nretn                                                                   ; +0x10d, 0x14006aead", "xrefs": ["GJGarageLayer::setupPage @ 0x140276280", "GJGarageLayer::setupSpecialPage @ 0x140276bcd", "GJGarageLayer::setupSpecialPage @ 0x140276ce1", "GJShopLayer::init @ 0x1402ab63a", "<???> @ 0x1406c5fac"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}