{"type": "func", "start": 5372435344, "end": 5372435645, "name": "GJListLayer::create", "pseudocode": "// \n// GJListLayer::create from 0x14038db90 to 0x14038dcbd (301 bytes)\n// \n// 4 xrefs:\n// > GJDropDownLayer::init @ 0x14035fac2\n// > LeaderboardsLayer::setupLevelBrowser @ 0x1403dc23f\n// > LevelBrowserLayer::setupLevelBrowser @ 0x1403e560c\n// > <???> @ 0x140922ebc\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:31:10 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCLayerColor *__fastcall GJListLayer::create(int a1, int a2, int a3, float a4, int a5, int a6)\n{\n  cocos2d::CCLayerColor *v9; // r14\n\n  v9 = (cocos2d::CCLayerColor *)operator new(0x228u);\n  cocos2d::CCLayerColor::CCLayerColor(v9);\n  *(_QWORD *)v9 = &GJListLayer::`vftable';\n  *((_QWORD *)v9 + 40) = &GJListLayer::`vftable';\n  *((_QWORD *)v9 + 41) = &GJListLayer::`vftable';\n  *((_QWORD *)v9 + 42) = &GJListLayer::`vftable';\n  *((_QWORD *)v9 + 43) = &GJListLayer::`vftable';\n  *((_QWORD *)v9 + 44) = &GJListLayer::`vftable';\n  *((_QWORD *)v9 + 51) = &GJListLayer::`vftable';\n  *((_QWORD *)v9 + 54) = &GJListLayer::`vftable';\n  *((_QWORD *)v9 + 68) = 0;\n  if ( (unsigned __int8)GJListLayer::init((_DWORD)v9, a1, a2, a3, LODWORD(a4), a5, a6) )\n  {\n    cocos2d::CCObject::autorelease(v9);\n    return v9;\n  }\n  else\n  {\n    (*(void (__fastcall **)(cocos2d::CCLayerColor *, __int64))(*(_QWORD *)v9 + 8LL))(v9, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJListLayer::create from 0x14038db90 to 0x14038dcbd (301 bytes)\n; \n; 4 xrefs:\n; > GJDropDownLayer::init @ 0x14035fac2\n; > LeaderboardsLayer::setupLevelBrowser @ 0x1403dc23f\n; > LevelBrowserLayer::setupLevelBrowser @ 0x1403e560c\n; > <???> @ 0x140922ebc\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:31:10 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14038db90\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14038db95\nmov     [rsp+arg_10], rdi                                              ; +0xa, 0x14038db9a\npush    r14                                                            ; +0xf, 0x14038db9f\nsub     rsp, 60h                                                       ; +0x11, 0x14038dba1\nmovaps  [rsp+68h+var_18], xmm6                                         ; +0x15, 0x14038dba5\nmovaps  xmm6, xmm3                                                     ; +0x1a, 0x14038dbaa\nmov     ebx, r8d                                                       ; +0x1d, 0x14038dbad\nmov     rdi, rdx                                                       ; +0x20, 0x14038dbb0\nmov     rsi, rcx                                                       ; +0x23, 0x14038dbb3\nmov     ecx, 228h; Size                                                ; +0x26, 0x14038dbb6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2b, 0x14038dbbb\nmov     r14, rax                                                       ; +0x30, 0x14038dbc0\nmov     [rsp+68h+var_28], rax                                          ; +0x33, 0x14038dbc3\nmov     rcx, rax                                                       ; +0x38, 0x14038dbc8\ncall    cs:??0CCLayerColor@cocos2d@@QEAA@XZ; cocos2d::CCLayerColor::CCLayerColor(void) ; +0x3b, 0x14038dbcb\nlea     rax, ??_7GJListLayer@@6B@; const GJListLayer::`vftable'        ; +0x41, 0x14038dbd1\nmov     [r14], rax                                                     ; +0x48, 0x14038dbd8\nlea     rax, ??_7GJListLayer@@6B@_0; const GJListLayer::`vftable'      ; +0x4b, 0x14038dbdb\nmov     [r14+140h], rax                                                ; +0x52, 0x14038dbe2\nlea     rax, ??_7GJListLayer@@6B@_1; const GJListLayer::`vftable'      ; +0x59, 0x14038dbe9\nmov     [r14+148h], rax                                                ; +0x60, 0x14038dbf0\nlea     rax, ??_7GJListLayer@@6B@_2; const GJListLayer::`vftable'      ; +0x67, 0x14038dbf7\nmov     [r14+150h], rax                                                ; +0x6e, 0x14038dbfe\nlea     rax, ??_7GJListLayer@@6B@_3; const GJListLayer::`vftable'      ; +0x75, 0x14038dc05\nmov     [r14+158h], rax                                                ; +0x7c, 0x14038dc0c\nlea     rax, ??_7GJListLayer@@6B@_4; const GJListLayer::`vftable'      ; +0x83, 0x14038dc13\nmov     [r14+160h], rax                                                ; +0x8a, 0x14038dc1a\nlea     rax, ??_7GJListLayer@@6B@_5; const GJListLayer::`vftable'      ; +0x91, 0x14038dc21\nmov     [r14+198h], rax                                                ; +0x98, 0x14038dc28\nlea     rax, ??_7GJListLayer@@6B@_6; const GJListLayer::`vftable'      ; +0x9f, 0x14038dc2f\nmov     [r14+1B0h], rax                                                ; +0xa6, 0x14038dc36\nmov     qword ptr [r14+220h], 0                                        ; +0xad, 0x14038dc3d\nmov     eax, [rsp+68h+arg_28]                                          ; +0xb8, 0x14038dc48\nmov     [rsp+68h+var_38], eax                                          ; +0xbf, 0x14038dc4f\nmovss   xmm0, [rsp+68h+arg_20]                                         ; +0xc3, 0x14038dc53\nmovss   [rsp+68h+var_40], xmm0                                         ; +0xcc, 0x14038dc5c\nmovss   [rsp+68h+var_48], xmm6                                         ; +0xd2, 0x14038dc62\nmov     r9d, ebx                                                       ; +0xd8, 0x14038dc68\nmov     r8, rdi                                                        ; +0xdb, 0x14038dc6b\nmov     rdx, rsi                                                       ; +0xde, 0x14038dc6e\nmov     rcx, r14                                                       ; +0xe1, 0x14038dc71\ncall    GJListLayer__init                                              ; +0xe4, 0x14038dc74\ntest    al, al                                                         ; +0xe9, 0x14038dc79\njz      short loc_14038DC8B                                            ; +0xeb, 0x14038dc7b\nmov     rcx, r14                                                       ; +0xed, 0x14038dc7d\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xf0, 0x14038dc80\nmov     rax, r14                                                       ; +0xf6, 0x14038dc86\njmp     short loc_14038DC9F                                            ; +0xf9, 0x14038dc89\nmov     rcx, [r14]                                                     ; +0xfb, 0x14038dc8b\nmov     r8, [rcx+8]                                                    ; +0xfe, 0x14038dc8e\nmov     edx, 1                                                         ; +0x102, 0x14038dc92\nmov     rcx, r14                                                       ; +0x107, 0x14038dc97\ncall    r8                                                             ; +0x10a, 0x14038dc9a\nxor     eax, eax                                                       ; +0x10d, 0x14038dc9d\nmov     rbx, [rsp+68h+arg_0]                                           ; +0x10f, 0x14038dc9f\nmov     rsi, [rsp+68h+arg_8]                                           ; +0x114, 0x14038dca4\nmov     rdi, [rsp+68h+arg_10]                                          ; +0x119, 0x14038dca9\nmovaps  xmm6, [rsp+68h+var_18]                                         ; +0x121, 0x14038dcb1\nadd     rsp, 60h                                                       ; +0x126, 0x14038dcb6\npop     r14                                                            ; +0x12a, 0x14038dcba\nretn                                                                   ; +0x12c, 0x14038dcbc", "xrefs": ["GJDropDownLayer::init @ 0x14035fac2", "LeaderboardsLayer::setupLevelBrowser @ 0x1403dc23f", "LevelBrowserLayer::setupLevelBrowser @ 0x1403e560c", "<???> @ 0x140922ebc"], "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"}