{"type": "func", "start": 5369199792, "end": 5369200068, "name": "ListButtonBar::create", "pseudocode": "// \n// ListButtonBar::create from 0x140077cb0 to 0x140077dc4 (276 bytes)\n// \n// 5 xrefs:\n// > GJGarageLayer::setupPage @ 0x14037eb68\n// > GJGarageLayer::setupSpecialPage @ 0x14037f523\n// > GJGarageLayer::setupSpecialPage @ 0x14037f689\n// > GJShopLayer::init @ 0x1403b1988\n// > <???> @ 0x140911c60\n// \n// This function is hookable on this platform (idp: pc, 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 11:25:51 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCNode *__fastcall ListButtonBar::create(\n        int a1,\n        const struct cocos2d::CCPoint *a2,\n        int a3,\n        int a4,\n        int a5,\n        int a6,\n        int a7,\n        int a8)\n{\n  cocos2d::CCNode *v12; // r14\n  int v13; // eax\n  cocos2d::CCNode *v15; // [rsp+50h] [rbp-18h] BYREF\n\n  v12 = (cocos2d::CCNode *)operator new(0x160u);\n  v15 = v12;\n  cocos2d::CCNode::CCNode(v12);\n  *(_QWORD *)v12 = &ListButtonBar::`vftable';\n  *((_QWORD *)v12 + 40) = 0;\n  *((_QWORD *)v12 + 41) = 0;\n  *((_QWORD *)v12 + 42) = 0;\n  *((_BYTE *)v12 + 344) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, a2);\n  if ( (unsigned __int8)ListButtonBar::init((_DWORD)v12, a1, v13, a3, a4, a5, a6, a7, a8) )\n  {\n    cocos2d::CCObject::autorelease(v12);\n    return v12;\n  }\n  else\n  {\n    (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v12 + 8LL))(v12, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; ListButtonBar::create from 0x140077cb0 to 0x140077dc4 (276 bytes)\n; \n; 5 xrefs:\n; > GJGarageLayer::setupPage @ 0x14037eb68\n; > GJGarageLayer::setupSpecialPage @ 0x14037f523\n; > GJGarageLayer::setupSpecialPage @ 0x14037f689\n; > GJShopLayer::init @ 0x1403b1988\n; > <???> @ 0x140911c60\n; \n; This function is hookable on this platform (idp: pc, 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 11:25:51 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140077cb0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x140077cb5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x140077cba\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x140077cbf\npush    r14                                                            ; +0x14, 0x140077cc4\nsub     rsp, 60h                                                       ; +0x16, 0x140077cc6\nmov     esi, r9d                                                       ; +0x1a, 0x140077cca\nmov     ebp, r8d                                                       ; +0x1d, 0x140077ccd\nmov     rbx, rdx                                                       ; +0x20, 0x140077cd0\nmov     rdi, rcx                                                       ; +0x23, 0x140077cd3\nmov     ecx, 160h; Size                                                ; +0x26, 0x140077cd6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2b, 0x140077cdb\nmov     r14, rax                                                       ; +0x30, 0x140077ce0\nmov     [rsp+68h+var_18], rax                                          ; +0x33, 0x140077ce3\nmov     rcx, rax                                                       ; +0x38, 0x140077ce8\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x3b, 0x140077ceb\nlea     rax, ??_7ListButtonBar@@6B@; const ListButtonBar::`vftable'    ; +0x41, 0x140077cf1\nmov     [r14], rax                                                     ; +0x48, 0x140077cf8\nmov     qword ptr [r14+140h], 0                                        ; +0x4b, 0x140077cfb\nmov     qword ptr [r14+148h], 0                                        ; +0x56, 0x140077d06\nmov     qword ptr [r14+150h], 0                                        ; +0x61, 0x140077d11\nmov     byte ptr [r14+158h], 0                                         ; +0x6c, 0x140077d1c\nmov     rdx, rbx                                                       ; +0x74, 0x140077d24\nlea     rcx, [rsp+68h+var_18]                                          ; +0x77, 0x140077d27\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x7c, 0x140077d2c\nmov     r8, rax                                                        ; +0x82, 0x140077d32\nmovss   xmm0, [rsp+68h+arg_38]                                         ; +0x85, 0x140077d35\nmovss   [rsp+68h+var_28], xmm0                                         ; +0x8e, 0x140077d3e\nmovss   xmm1, [rsp+68h+arg_30]                                         ; +0x94, 0x140077d44\nmovss   [rsp+68h+var_30], xmm1                                         ; +0x9d, 0x140077d4d\nmovss   xmm0, [rsp+68h+arg_28]                                         ; +0xa3, 0x140077d53\nmovss   [rsp+68h+var_38], xmm0                                         ; +0xac, 0x140077d5c\nmovss   xmm1, [rsp+68h+arg_20]                                         ; +0xb2, 0x140077d62\nmovss   [rsp+68h+var_40], xmm1                                         ; +0xbb, 0x140077d6b\nmov     [rsp+68h+var_48], esi                                          ; +0xc1, 0x140077d71\nmov     r9d, ebp                                                       ; +0xc5, 0x140077d75\nmov     rdx, rdi                                                       ; +0xc8, 0x140077d78\nmov     rcx, r14                                                       ; +0xcb, 0x140077d7b\ncall    ListButtonBar__init                                            ; +0xce, 0x140077d7e\ntest    al, al                                                         ; +0xd3, 0x140077d83\njz      short loc_140077D95                                            ; +0xd5, 0x140077d85\nmov     rcx, r14                                                       ; +0xd7, 0x140077d87\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xda, 0x140077d8a\nmov     rax, r14                                                       ; +0xe0, 0x140077d90\njmp     short loc_140077DA9                                            ; +0xe3, 0x140077d93\nmov     rcx, [r14]                                                     ; +0xe5, 0x140077d95\nmov     r8, [rcx+8]                                                    ; +0xe8, 0x140077d98\nmov     edx, 1                                                         ; +0xec, 0x140077d9c\nmov     rcx, r14                                                       ; +0xf1, 0x140077da1\ncall    r8                                                             ; +0xf4, 0x140077da4\nxor     eax, eax                                                       ; +0xf7, 0x140077da7\nlea     r11, [rsp+68h+var_8]                                           ; +0xf9, 0x140077da9\nmov     rbx, [r11+10h]                                                 ; +0xfe, 0x140077dae\nmov     rbp, [r11+18h]                                                 ; +0x102, 0x140077db2\nmov     rsi, [r11+20h]                                                 ; +0x106, 0x140077db6\nmov     rdi, [r11+28h]                                                 ; +0x10a, 0x140077dba\nmov     rsp, r11                                                       ; +0x10e, 0x140077dbe\npop     r14                                                            ; +0x111, 0x140077dc1\nretn                                                                   ; +0x113, 0x140077dc3", "xrefs": ["GJGarageLayer::setupPage @ 0x14037eb68", "GJGarageLayer::setupSpecialPage @ 0x14037f523", "GJGarageLayer::setupSpecialPage @ 0x14037f689", "GJShopLayer::init @ 0x1403b1988", "<???> @ 0x140911c60"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}