{"type": "func", "start": 5372546560, "end": 5372546956, "name": "GJSelectionStrip::create", "pseudocode": "// \n// GJSelectionStrip::create from 0x1403a8e00 to 0x1403a8f8c (396 bytes)\n// \n// 5 xrefs:\n// > AutoBackupPopup::init @ 0x1400c9fe2\n// > MessageThreadsPage::init @ 0x1400d58a0\n// > FRequestProfilePage::init @ 0x14020fce4\n// > LevelBrowserLayer::init @ 0x1403e2dd5\n// > <???> @ 0x1409238f4\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:20 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nchar *__fastcall GJSelectionStrip::create(\n        __int64 a1,\n        __int64 a2,\n        const struct cocos2d::CCPoint *a3,\n        float a4,\n        __int64 a5,\n        __int64 a6)\n{\n  char *v9; // rdi\n  __int64 v10; // rax\n  __int64 v11; // rbx\n  int v12; // r8d\n  char *v14; // [rsp+30h] [rbp-38h] BYREF\n\n  v9 = (char *)operator new(0x198u);\n  v14 = v9;\n  memset(v9, 0, 0x198u);\n  cocos2d::CCNode::CCNode((cocos2d::CCNode *)v9);\n  *(_QWORD *)v9 = &GJSelectionStrip::`vftable';\n  *((_QWORD *)v9 + 40) = 0;\n  *((_QWORD *)v9 + 41) = 0;\n  *((_QWORD *)v9 + 42) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v9 + 344));\n  *((_DWORD *)v9 + 88) = 1065353216;\n  *((_QWORD *)v9 + 45) = 0;\n  *((_QWORD *)v9 + 46) = 0;\n  v9[376] = 1;\n  *((_QWORD *)v9 + 48) = 0;\n  *((_QWORD *)v9 + 49) = 0;\n  *((_QWORD *)v9 + 50) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, a3);\n  v11 = v10;\n  if ( cocos2d::CCNode::init((cocos2d::CCNode *)v9) )\n  {\n    *((_QWORD *)v9 + 40) = a1;\n    *((_QWORD *)v9 + 41) = a2;\n    cocos2d::CCPoint::operator=(v9 + 344, v11);\n    *((float *)v9 + 88) = a4;\n    *((_QWORD *)v9 + 42) = a5;\n    (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)a2 + 464LL))(a2, v9);\n    *((_QWORD *)v9 + 46) = GJSelectionStrip::addButton(\n                             (_DWORD)v9,\n                             (unsigned int)\"threadBtn_selectAll_001.png\",\n                             v12,\n                             a6,\n                             1068708659);\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v9);\n    return v9;\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v9 + 8LL))(v9, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJSelectionStrip::create from 0x1403a8e00 to 0x1403a8f8c (396 bytes)\n; \n; 5 xrefs:\n; > AutoBackupPopup::init @ 0x1400c9fe2\n; > MessageThreadsPage::init @ 0x1400d58a0\n; > FRequestProfilePage::init @ 0x14020fce4\n; > LevelBrowserLayer::init @ 0x1403e2dd5\n; > <???> @ 0x1409238f4\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:20 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403a8e00\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1403a8e05\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1403a8e0a\npush    rdi                                                            ; +0xf, 0x1403a8e0f\npush    r14                                                            ; +0x10, 0x1403a8e10\npush    r15                                                            ; +0x12, 0x1403a8e12\nsub     rsp, 50h                                                       ; +0x14, 0x1403a8e14\nmovaps  [rsp+68h+var_28], xmm6                                         ; +0x18, 0x1403a8e18\nmovaps  xmm6, xmm3                                                     ; +0x1d, 0x1403a8e1d\nmov     rbx, r8                                                        ; +0x20, 0x1403a8e20\nmov     rsi, rdx                                                       ; +0x23, 0x1403a8e23\nmov     r14, rcx                                                       ; +0x26, 0x1403a8e26\nmov     ecx, 198h; Size                                                ; +0x29, 0x1403a8e29\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2e, 0x1403a8e2e\nmov     rdi, rax                                                       ; +0x33, 0x1403a8e33\nmov     [rsp+68h+var_38], rax                                          ; +0x36, 0x1403a8e36\nxor     edx, edx; Val                                                  ; +0x3b, 0x1403a8e3b\nmov     r8d, 198h; Size                                                ; +0x3d, 0x1403a8e3d\nmov     rcx, rax; void *                                               ; +0x43, 0x1403a8e43\ncall    memset                                                         ; +0x46, 0x1403a8e46\nmov     rcx, rdi                                                       ; +0x4b, 0x1403a8e4b\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x4e, 0x1403a8e4e\nnop                                                                    ; +0x54, 0x1403a8e54\nlea     rax, ??_7GJSelectionStrip@@6B@; const GJSelectionStrip::`vftable' ; +0x55, 0x1403a8e55\nmov     [rdi], rax                                                     ; +0x5c, 0x1403a8e5c\nxor     r15d, r15d                                                     ; +0x5f, 0x1403a8e5f\nmov     [rdi+140h], r15                                                ; +0x62, 0x1403a8e62\nmov     [rdi+148h], r15                                                ; +0x69, 0x1403a8e69\nmov     [rdi+150h], r15                                                ; +0x70, 0x1403a8e70\nlea     rcx, [rdi+158h]                                                ; +0x77, 0x1403a8e77\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x7e, 0x1403a8e7e\nmov     dword ptr [rdi+160h], 3F800000h                                ; +0x84, 0x1403a8e84\nmov     [rdi+168h], r15                                                ; +0x8e, 0x1403a8e8e\nmov     [rdi+170h], r15                                                ; +0x95, 0x1403a8e95\nmov     byte ptr [rdi+178h], 1                                         ; +0x9c, 0x1403a8e9c\nmov     [rdi+180h], r15                                                ; +0xa3, 0x1403a8ea3\nmov     [rdi+188h], r15                                                ; +0xaa, 0x1403a8eaa\nmov     [rdi+190h], r15                                                ; +0xb1, 0x1403a8eb1\nmov     rdx, rbx                                                       ; +0xb8, 0x1403a8eb8\nlea     rcx, [rsp+68h+var_38]                                          ; +0xbb, 0x1403a8ebb\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xc0, 0x1403a8ec0\nmov     rbx, rax                                                       ; +0xc6, 0x1403a8ec6\nmov     rcx, rdi                                                       ; +0xc9, 0x1403a8ec9\ncall    cs:__imp_?init@CCNode@cocos2d@@UEAA_NXZ; cocos2d::CCNode::init(void) ; +0xcc, 0x1403a8ecc\ntest    al, al                                                         ; +0xd2, 0x1403a8ed2\njz      loc_1403A8F5B                                                  ; +0xd4, 0x1403a8ed4\nmov     [rdi+140h], r14                                                ; +0xda, 0x1403a8eda\nmov     [rdi+148h], rsi                                                ; +0xe1, 0x1403a8ee1\nmov     rdx, rbx                                                       ; +0xe8, 0x1403a8ee8\nlea     rcx, [rdi+158h]                                                ; +0xeb, 0x1403a8eeb\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xf2, 0x1403a8ef2\nmovss   dword ptr [rdi+160h], xmm6                                     ; +0xf8, 0x1403a8ef8\nmov     rax, [rsp+68h+arg_20]                                          ; +0x100, 0x1403a8f00\nmov     [rdi+150h], rax                                                ; +0x108, 0x1403a8f08\nmov     rax, [rsi]                                                     ; +0x10f, 0x1403a8f0f\nmov     rdx, rdi                                                       ; +0x112, 0x1403a8f12\nmov     rcx, rsi                                                       ; +0x115, 0x1403a8f15\ncall    qword ptr [rax+1D0h]                                           ; +0x118, 0x1403a8f18\nmovss   xmm0, cs:dword_140835138                                       ; +0x11e, 0x1403a8f1e\nmovss   [rsp+68h+var_48], xmm0                                         ; +0x126, 0x1403a8f26\nmov     r9, [rsp+68h+arg_28]                                           ; +0x12c, 0x1403a8f2c\nxorps   xmm2, xmm2                                                     ; +0x134, 0x1403a8f34\nlea     rdx, aThreadbtnSelec; \"threadBtn_selectAll_001.png\"            ; +0x137, 0x1403a8f37\nmov     rcx, rdi                                                       ; +0x13e, 0x1403a8f3e\ncall    GJSelectionStrip__addButton                                    ; +0x141, 0x1403a8f41\nmov     [rdi+170h], rax                                                ; +0x146, 0x1403a8f46\nmov     rcx, rdi                                                       ; +0x14d, 0x1403a8f4d\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x150, 0x1403a8f50\nmov     rax, rdi                                                       ; +0x156, 0x1403a8f56\njmp     short loc_1403A8F6B                                            ; +0x159, 0x1403a8f59\nmov     rax, [rdi]                                                     ; +0x15b, 0x1403a8f5b\nmov     edx, 1                                                         ; +0x15e, 0x1403a8f5e\nmov     rcx, rdi                                                       ; +0x163, 0x1403a8f63\ncall    qword ptr [rax+8]                                              ; +0x166, 0x1403a8f66\nxor     eax, eax                                                       ; +0x169, 0x1403a8f69\nmov     rbx, [rsp+68h+arg_0]                                           ; +0x16b, 0x1403a8f6b\nmov     rbp, [rsp+68h+arg_8]                                           ; +0x170, 0x1403a8f70\nmov     rsi, [rsp+68h+arg_10]                                          ; +0x175, 0x1403a8f75\nmovaps  xmm6, [rsp+68h+var_28]                                         ; +0x17d, 0x1403a8f7d\nadd     rsp, 50h                                                       ; +0x182, 0x1403a8f82\npop     r15                                                            ; +0x186, 0x1403a8f86\npop     r14                                                            ; +0x188, 0x1403a8f88\npop     rdi                                                            ; +0x18a, 0x1403a8f8a\nretn                                                                   ; +0x18b, 0x1403a8f8b", "xrefs": ["AutoBackupPopup::init @ 0x1400c9fe2", "MessageThreadsPage::init @ 0x1400d58a0", "FRequestProfilePage::init @ 0x14020fce4", "LevelBrowserLayer::init @ 0x1403e2dd5", "<???> @ 0x1409238f4"], "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"}