{"type": "func", "start": 5375474512, "end": 5375474733, "name": "GJUINode::create", "pseudocode": "// \n// GJUINode::create from 0x140673b50 to 0x140673c2d (221 bytes)\n// \n// 3 xrefs:\n// > TouchControlEditLayer::buildNodes @ 0x14045292d\n// > UILayer::init @ 0x140670110\n// > <???> @ 0x1409323b4\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:35:55 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nchar *__fastcall GJUINode::create(__int64 a1)\n{\n  char *v2; // rdi\n\n  v2 = (char *)operator new(0x188u);\n  cocos2d::CCNode::CCNode((cocos2d::CCNode *)v2);\n  *(_QWORD *)v2 = &GJUINode::`vftable';\n  *((_QWORD *)v2 + 40) = 0;\n  *((_QWORD *)v2 + 41) = 0;\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v2 + 336));\n  *((_DWORD *)v2 + 88) = -1;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 356));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 364));\n  *(_QWORD *)(v2 + 372) = 0;\n  *((_DWORD *)v2 + 95) = 0;\n  *((_QWORD *)v2 + 48) = 0;\n  if ( (unsigned __int8)GJUINode::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n    return v2;\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v2 + 8LL))(v2, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJUINode::create from 0x140673b50 to 0x140673c2d (221 bytes)\n; \n; 3 xrefs:\n; > TouchControlEditLayer::buildNodes @ 0x14045292d\n; > UILayer::init @ 0x140670110\n; > <???> @ 0x1409323b4\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:35:55 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140673b50\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x140673b55\npush    rdi                                                            ; +0xa, 0x140673b5a\nsub     rsp, 20h                                                       ; +0xb, 0x140673b5b\nmov     rbx, rcx                                                       ; +0xf, 0x140673b5f\nmov     ecx, 188h; Size                                                ; +0x12, 0x140673b62\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x140673b67\nmov     rdi, rax                                                       ; +0x1c, 0x140673b6c\nmov     [rsp+28h+arg_8], rax                                           ; +0x1f, 0x140673b6f\nmov     rcx, rax                                                       ; +0x24, 0x140673b74\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x27, 0x140673b77\nnop                                                                    ; +0x2d, 0x140673b7d\nlea     rax, ??_7GJUINode@@6B@; const GJUINode::`vftable'              ; +0x2e, 0x140673b7e\nmov     [rdi], rax                                                     ; +0x35, 0x140673b85\nxor     esi, esi                                                       ; +0x38, 0x140673b88\nmov     [rdi+140h], rsi                                                ; +0x3a, 0x140673b8a\nmov     [rdi+148h], rsi                                                ; +0x41, 0x140673b91\nlea     rcx, [rdi+150h]                                                ; +0x48, 0x140673b98\ncall    cs:??0CCRect@cocos2d@@QEAA@XZ; cocos2d::CCRect::CCRect(void)   ; +0x4f, 0x140673b9f\nmov     dword ptr [rdi+160h], 0FFFFFFFFh                               ; +0x55, 0x140673ba5\nlea     rcx, [rdi+164h]                                                ; +0x5f, 0x140673baf\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x66, 0x140673bb6\nlea     rcx, [rdi+16Ch]                                                ; +0x6c, 0x140673bbc\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x73, 0x140673bc3\nmov     [rdi+174h], rsi                                                ; +0x79, 0x140673bc9\nmov     [rdi+17Ch], esi                                                ; +0x80, 0x140673bd0\nmov     [rdi+180h], rsi                                                ; +0x86, 0x140673bd6\nmov     rdx, rbx                                                       ; +0x8d, 0x140673bdd\nmov     rcx, rdi                                                       ; +0x90, 0x140673be0\ncall    GJUINode__init                                                 ; +0x93, 0x140673be3\ntest    al, al                                                         ; +0x98, 0x140673be8\njz      short loc_140673C08                                            ; +0x9a, 0x140673bea\nmov     rcx, rdi                                                       ; +0x9c, 0x140673bec\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x9f, 0x140673bef\nmov     rax, rdi                                                       ; +0xa5, 0x140673bf5\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa8, 0x140673bf8\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xad, 0x140673bfd\nadd     rsp, 20h                                                       ; +0xb2, 0x140673c02\npop     rdi                                                            ; +0xb6, 0x140673c06\nretn                                                                   ; +0xb7, 0x140673c07\nmov     rcx, [rdi]                                                     ; +0xb8, 0x140673c08\nmov     r8, [rcx+8]                                                    ; +0xbb, 0x140673c0b\nmov     edx, 1                                                         ; +0xbf, 0x140673c0f\nmov     rcx, rdi                                                       ; +0xc4, 0x140673c14\ncall    r8                                                             ; +0xc7, 0x140673c17\nmov     rax, rsi                                                       ; +0xca, 0x140673c1a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xcd, 0x140673c1d\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xd2, 0x140673c22\nadd     rsp, 20h                                                       ; +0xd7, 0x140673c27\npop     rdi                                                            ; +0xdb, 0x140673c2b\nretn                                                                   ; +0xdc, 0x140673c2c", "xrefs": ["TouchControlEditLayer::buildNodes @ 0x14045292d", "UILayer::init @ 0x140670110", "<???> @ 0x1409323b4"], "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"}