{"type": "func", "start": 5372494960, "end": 5372495246, "name": "GJCommentListLayer::create", "pseudocode": "// \n// GJCommentListLayer::create from 0x14039c470 to 0x14039c58e (286 bytes)\n// \n// 19 xrefs:\n// > AudioAssetsBrowser::setupList @ 0x14009976c\n// > MessageThreadsPage::setupThreadBrowser @ 0x1400d8ec9\n// > LevelPickerPopup::setupList @ 0x1400eac50\n// > EditorSoundBrowserLayer::layoutCells @ 0x14018fa6d\n// > FRequestProfilePage::setupCommentsBrowser @ 0x140212b15\n// > FriendsProfilePage::init @ 0x14021432a\n// > InfoLayer::setupCommentsBrowser @ 0x1403d1e70\n// > LevelLeaderboard::setupLeaderboard @ 0x14042aa9c\n// > MessagesProfilePage::setupCommentsBrowser @ 0x1404776d5\n// > NotificationsPage::setupBrowser @ 0x140478975\n// > MusicBrowser::setupList @ 0x14047ce16\n// > OptionsScrollLayer::setupList @ 0x14047f23f\n// > NewsPopup::init @ 0x14049e2ed\n// > StartPosBrowser::setupList @ 0x1404dc0cd\n// > ProfilePage::setupCommentsBrowser @ 0x14055a303\n// > SelectFontLayer2::init @ 0x14058e224\n// > SFXBrowser::setupList @ 0x14061a125\n// > TopArtistsLayer::setupLeaderboard @ 0x14066e8e5\n// > <???> @ 0x140923384\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:15 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCLayerColor *GJCommentListLayer::create(int a1, _DWORD a2, int a3, float a4, int a5, char a6, ...)\n{\n  cocos2d::CCLayerColor *v8; // rsi\n  int v9; // r8d\n\n  v8 = (cocos2d::CCLayerColor *)operator new(0x228u);\n  cocos2d::CCLayerColor::CCLayerColor(v8);\n  *(_QWORD *)v8 = &GJCommentListLayer::`vftable';\n  *((_QWORD *)v8 + 40) = &GJCommentListLayer::`vftable';\n  *((_QWORD *)v8 + 41) = &GJCommentListLayer::`vftable';\n  *((_QWORD *)v8 + 42) = &GJCommentListLayer::`vftable';\n  *((_QWORD *)v8 + 43) = &GJCommentListLayer::`vftable';\n  *((_QWORD *)v8 + 44) = &GJCommentListLayer::`vftable';\n  *((_QWORD *)v8 + 51) = &GJCommentListLayer::`vftable';\n  *((_QWORD *)v8 + 54) = &GJCommentListLayer::`vftable';\n  *((_QWORD *)v8 + 68) = 0;\n  if ( (unsigned __int8)GJCommentListLayer::init((_DWORD)v8, a1, v9, a3, LODWORD(a4), a5, a6) )\n  {\n    cocos2d::CCObject::autorelease(v8);\n    return v8;\n  }\n  else\n  {\n    (*(void (__fastcall **)(cocos2d::CCLayerColor *, __int64))(*(_QWORD *)v8 + 8LL))(v8, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJCommentListLayer::create from 0x14039c470 to 0x14039c58e (286 bytes)\n; \n; 19 xrefs:\n; > AudioAssetsBrowser::setupList @ 0x14009976c\n; > MessageThreadsPage::setupThreadBrowser @ 0x1400d8ec9\n; > LevelPickerPopup::setupList @ 0x1400eac50\n; > EditorSoundBrowserLayer::layoutCells @ 0x14018fa6d\n; > FRequestProfilePage::setupCommentsBrowser @ 0x140212b15\n; > FriendsProfilePage::init @ 0x14021432a\n; > InfoLayer::setupCommentsBrowser @ 0x1403d1e70\n; > LevelLeaderboard::setupLeaderboard @ 0x14042aa9c\n; > MessagesProfilePage::setupCommentsBrowser @ 0x1404776d5\n; > NotificationsPage::setupBrowser @ 0x140478975\n; > MusicBrowser::setupList @ 0x14047ce16\n; > OptionsScrollLayer::setupList @ 0x14047f23f\n; > NewsPopup::init @ 0x14049e2ed\n; > StartPosBrowser::setupList @ 0x1404dc0cd\n; > ProfilePage::setupCommentsBrowser @ 0x14055a303\n; > SelectFontLayer2::init @ 0x14058e224\n; > SFXBrowser::setupList @ 0x14061a125\n; > TopArtistsLayer::setupLeaderboard @ 0x14066e8e5\n; > <???> @ 0x140923384\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:15 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14039c470\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x14039c475\nmov     [rsp+arg_8], rdx                                               ; +0xa, 0x14039c47a\npush    rdi                                                            ; +0xf, 0x14039c47f\nsub     rsp, 50h                                                       ; +0x10, 0x14039c480\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x14, 0x14039c484\nmovaps  xmm6, xmm3                                                     ; +0x19, 0x14039c489\nmov     ebx, r8d                                                       ; +0x1c, 0x14039c48c\nmov     rdi, rcx                                                       ; +0x1f, 0x14039c48f\nmov     ecx, 228h; Size                                                ; +0x22, 0x14039c492\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x27, 0x14039c497\nmov     rsi, rax                                                       ; +0x2c, 0x14039c49c\nmov     [rsp+58h+arg_8], rax                                           ; +0x2f, 0x14039c49f\nmov     rcx, rax                                                       ; +0x34, 0x14039c4a4\ncall    cs:??0CCLayerColor@cocos2d@@QEAA@XZ; cocos2d::CCLayerColor::CCLayerColor(void) ; +0x37, 0x14039c4a7\nlea     rax, ??_7GJCommentListLayer@@6B@; const GJCommentListLayer::`vftable' ; +0x3d, 0x14039c4ad\nmov     [rsi], rax                                                     ; +0x44, 0x14039c4b4\nlea     rax, ??_7GJCommentListLayer@@6B@_0; const GJCommentListLayer::`vftable' ; +0x47, 0x14039c4b7\nmov     [rsi+140h], rax                                                ; +0x4e, 0x14039c4be\nlea     rax, ??_7GJCommentListLayer@@6B@_1; const GJCommentListLayer::`vftable' ; +0x55, 0x14039c4c5\nmov     [rsi+148h], rax                                                ; +0x5c, 0x14039c4cc\nlea     rax, ??_7GJCommentListLayer@@6B@_2; const GJCommentListLayer::`vftable' ; +0x63, 0x14039c4d3\nmov     [rsi+150h], rax                                                ; +0x6a, 0x14039c4da\nlea     rax, ??_7GJCommentListLayer@@6B@_3; const GJCommentListLayer::`vftable' ; +0x71, 0x14039c4e1\nmov     [rsi+158h], rax                                                ; +0x78, 0x14039c4e8\nlea     rax, ??_7GJCommentListLayer@@6B@_4; const GJCommentListLayer::`vftable' ; +0x7f, 0x14039c4ef\nmov     [rsi+160h], rax                                                ; +0x86, 0x14039c4f6\nlea     rax, ??_7GJCommentListLayer@@6B@_5; const GJCommentListLayer::`vftable' ; +0x8d, 0x14039c4fd\nmov     [rsi+198h], rax                                                ; +0x94, 0x14039c504\nlea     rax, ??_7GJCommentListLayer@@6B@_6; const GJCommentListLayer::`vftable' ; +0x9b, 0x14039c50b\nmov     [rsi+1B0h], rax                                                ; +0xa2, 0x14039c512\nmov     qword ptr [rsi+220h], 0                                        ; +0xa9, 0x14039c519\nmovzx   ecx, [rsp+58h+arg_28]                                          ; +0xb4, 0x14039c524\nmov     [rsp+58h+var_28], cl                                           ; +0xbc, 0x14039c52c\nmovss   xmm0, [rsp+58h+arg_20]                                         ; +0xc0, 0x14039c530\nmovss   [rsp+58h+var_30], xmm0                                         ; +0xc9, 0x14039c539\nmovss   [rsp+58h+var_38], xmm6                                         ; +0xcf, 0x14039c53f\nmov     r9d, ebx                                                       ; +0xd5, 0x14039c545\nmov     rdx, rdi                                                       ; +0xd8, 0x14039c548\nmov     rcx, rsi                                                       ; +0xdb, 0x14039c54b\ncall    GJCommentListLayer__init                                       ; +0xde, 0x14039c54e\ntest    al, al                                                         ; +0xe3, 0x14039c553\njz      short loc_14039C565                                            ; +0xe5, 0x14039c555\nmov     rcx, rsi                                                       ; +0xe7, 0x14039c557\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xea, 0x14039c55a\nmov     rax, rsi                                                       ; +0xf0, 0x14039c560\njmp     short loc_14039C579                                            ; +0xf3, 0x14039c563\nmov     rcx, [rsi]                                                     ; +0xf5, 0x14039c565\nmov     r8, [rcx+8]                                                    ; +0xf8, 0x14039c568\nmov     edx, 1                                                         ; +0xfc, 0x14039c56c\nmov     rcx, rsi                                                       ; +0x101, 0x14039c571\ncall    r8                                                             ; +0x104, 0x14039c574\nxor     eax, eax                                                       ; +0x107, 0x14039c577\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x109, 0x14039c579\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x10e, 0x14039c57e\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0x113, 0x14039c583\nadd     rsp, 50h                                                       ; +0x118, 0x14039c588\npop     rdi                                                            ; +0x11c, 0x14039c58c\nretn                                                                   ; +0x11d, 0x14039c58d", "xrefs": ["AudioAssetsBrowser::setupList @ 0x14009976c", "MessageThreadsPage::setupThreadBrowser @ 0x1400d8ec9", "LevelPickerPopup::setupList @ 0x1400eac50", "EditorSoundBrowserLayer::layoutCells @ 0x14018fa6d", "FRequestProfilePage::setupCommentsBrowser @ 0x140212b15", "FriendsProfilePage::init @ 0x14021432a", "InfoLayer::setupCommentsBrowser @ 0x1403d1e70", "LevelLeaderboard::setupLeaderboard @ 0x14042aa9c", "MessagesProfilePage::setupCommentsBrowser @ 0x1404776d5", "NotificationsPage::setupBrowser @ 0x140478975", "MusicBrowser::setupList @ 0x14047ce16", "OptionsScrollLayer::setupList @ 0x14047f23f", "NewsPopup::init @ 0x14049e2ed", "StartPosBrowser::setupList @ 0x1404dc0cd", "ProfilePage::setupCommentsBrowser @ 0x14055a303", "SelectFontLayer2::init @ 0x14058e224", "SFXBrowser::setupList @ 0x14061a125", "TopArtistsLayer::setupLeaderboard @ 0x14066e8e5", "<???> @ 0x140923384"], "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"}