{"type": "func", "start": 4299957968, "end": 4299958132, "name": "GJUINode::create", "pseudocode": "// \n// GJUINode::create from 0x1004c26d0 to 0x1004c2774 (164 bytes)\n// \n// 10 xrefs:\n// > UIOptionsLayer::init @ 0x1002a0619\n// > UIOptionsLayer::init @ 0x1002a065e\n// > UIOptionsLayer::init @ 0x1002a0703\n// > UIOptionsLayer::init @ 0x1002a0748\n// > UIOptionsLayer::init @ 0x1002a07de\n// > UILayer::init @ 0x1004c2053\n// > UILayer::init @ 0x1004c2098\n// > UILayer::init @ 0x1004c20e5\n// > UILayer::init @ 0x1004c212a\n// > TouchControlEditLayer::buildNodes @ 0x100978024\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 12:31:06 +0000\n// \n\n_OWORD *__fastcall GJUINode::create(__int64 a1)\n{\n  _OWORD *v1; // rbx\n\n  v1 = operator new(0x188u);\n  cocos2d::CCNode::CCNode((__int64)v1);\n  *(_QWORD *)v1 = off_100B5C158;\n  v1[20] = 0;\n  sub_1002787A0(v1 + 21);\n  *((_DWORD *)v1 + 88) = -1;\n  sub_1002782A0((_OWORD *)((char *)v1 + 356));\n  sub_1002782A0((_OWORD *)((char *)v1 + 364));\n  *(_OWORD *)((char *)v1 + 372) = 0;\n  *((_DWORD *)v1 + 97) = 0;\n  if ( (unsigned __int8)GJUINode::init(v1, a1) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_OWORD *))(*(_QWORD *)v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; GJUINode::create from 0x1004c26d0 to 0x1004c2774 (164 bytes)\n; \n; 10 xrefs:\n; > UIOptionsLayer::init @ 0x1002a0619\n; > UIOptionsLayer::init @ 0x1002a065e\n; > UIOptionsLayer::init @ 0x1002a0703\n; > UIOptionsLayer::init @ 0x1002a0748\n; > UIOptionsLayer::init @ 0x1002a07de\n; > UILayer::init @ 0x1004c2053\n; > UILayer::init @ 0x1004c2098\n; > UILayer::init @ 0x1004c20e5\n; > UILayer::init @ 0x1004c212a\n; > TouchControlEditLayer::buildNodes @ 0x100978024\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 12:31:06 +0000\n; \npush    rbp                                                            ; +0x0, 0x1004c26d0\nmov     rbp, rsp                                                       ; +0x1, 0x1004c26d1\npush    r14                                                            ; +0x4, 0x1004c26d4\npush    rbx                                                            ; +0x6, 0x1004c26d6\nmov     r14, rdi                                                       ; +0x7, 0x1004c26d7\nmov     edi, 188h; __sz                                                ; +0xa, 0x1004c26da\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1004c26df\nmov     rbx, rax                                                       ; +0x14, 0x1004c26e4\nmov     rdi, rax                                                       ; +0x17, 0x1004c26e7\ncall    cocos2d__CCNode__CCNode                                        ; +0x1a, 0x1004c26ea\nlea     rax, off_100B5C158                                             ; +0x1f, 0x1004c26ef\nmov     [rbx], rax                                                     ; +0x26, 0x1004c26f6\nlea     rdi, [rbx+150h]                                                ; +0x29, 0x1004c26f9\nxorps   xmm0, xmm0                                                     ; +0x30, 0x1004c2700\nmovups  xmmword ptr [rbx+140h], xmm0                                   ; +0x33, 0x1004c2703\ncall    sub_1002787A0                                                  ; +0x3a, 0x1004c270a\nmov     dword ptr [rbx+160h], 0FFFFFFFFh                               ; +0x3f, 0x1004c270f\nlea     rdi, [rbx+164h]                                                ; +0x49, 0x1004c2719\ncall    sub_1002782A0                                                  ; +0x50, 0x1004c2720\nmov     rdi, rbx                                                       ; +0x55, 0x1004c2725\nadd     rdi, 16Ch                                                      ; +0x58, 0x1004c2728\ncall    sub_1002782A0                                                  ; +0x5f, 0x1004c272f\nxorps   xmm0, xmm0                                                     ; +0x64, 0x1004c2734\nmovups  xmmword ptr [rbx+174h], xmm0                                   ; +0x67, 0x1004c2737\nmov     dword ptr [rbx+184h], 0                                        ; +0x6e, 0x1004c273e\nmov     rdi, rbx                                                       ; +0x78, 0x1004c2748\nmov     rsi, r14                                                       ; +0x7b, 0x1004c274b\ncall    GJUINode__init                                                 ; +0x7e, 0x1004c274e\ntest    al, al                                                         ; +0x83, 0x1004c2753\njz      short loc_1004C2761                                            ; +0x85, 0x1004c2755\nmov     rdi, rbx                                                       ; +0x87, 0x1004c2757\ncall    cocos2d__CCObject__autorelease                                 ; +0x8a, 0x1004c275a\njmp     short loc_1004C276C                                            ; +0x8f, 0x1004c275f\nmov     rax, [rbx]                                                     ; +0x91, 0x1004c2761\nmov     rdi, rbx                                                       ; +0x94, 0x1004c2764\ncall    qword ptr [rax+10h]                                            ; +0x97, 0x1004c2767\nxor     ebx, ebx                                                       ; +0x9a, 0x1004c276a\nmov     rax, rbx                                                       ; +0x9c, 0x1004c276c\npop     rbx                                                            ; +0x9f, 0x1004c276f\npop     r14                                                            ; +0xa0, 0x1004c2770\npop     rbp                                                            ; +0xa2, 0x1004c2772\nretn                                                                   ; +0xa3, 0x1004c2773", "xrefs": ["UIOptionsLayer::init @ 0x1002a0619", "UIOptionsLayer::init @ 0x1002a065e", "UIOptionsLayer::init @ 0x1002a0703", "UIOptionsLayer::init @ 0x1002a0748", "UIOptionsLayer::init @ 0x1002a07de", "UILayer::init @ 0x1004c2053", "UILayer::init @ 0x1004c2098", "UILayer::init @ 0x1004c20e5", "UILayer::init @ 0x1004c212a", "TouchControlEditLayer::buildNodes @ 0x100978024"], "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"}