{"type": "func", "start": 4298820224, "end": 4298820391, "name": "GJWorldNode::create", "pseudocode": "// \n// GJWorldNode::create from 0x1003aca80 to 0x1003acb27 (167 bytes)\n// \n// 1 xrefs:\n// > WorldSelectLayer::setupWorlds @ 0x1003abb49\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:29:24 +0000\n// \n\n_OWORD *__fastcall GJWorldNode::create(unsigned int a1, __int64 a2)\n{\n  _OWORD *v2; // rbx\n\n  v2 = operator new(0x180u);\n  cocos2d::CCNode::CCNode((__int64)v2);\n  *(_QWORD *)v2 = off_100B368A0;\n  v2[20] = 0;\n  v2[21] = 0;\n  *((_BYTE *)v2 + 352) = 0;\n  sub_1002782A0((_OWORD *)((char *)v2 + 356));\n  *((_DWORD *)v2 + 92) = 0;\n  *((_BYTE *)v2 + 372) = 0;\n  *((_QWORD *)v2 + 47) = 0;\n  if ( (unsigned __int8)GJWorldNode::init(v2, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_OWORD *))(*(_QWORD *)v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; GJWorldNode::create from 0x1003aca80 to 0x1003acb27 (167 bytes)\n; \n; 1 xrefs:\n; > WorldSelectLayer::setupWorlds @ 0x1003abb49\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:29:24 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003aca80\nmov     rbp, rsp                                                       ; +0x1, 0x1003aca81\npush    r15                                                            ; +0x4, 0x1003aca84\npush    r14                                                            ; +0x6, 0x1003aca86\npush    rbx                                                            ; +0x8, 0x1003aca88\npush    rax                                                            ; +0x9, 0x1003aca89\nmov     r14, rsi                                                       ; +0xa, 0x1003aca8a\nmov     r15d, edi                                                      ; +0xd, 0x1003aca8d\nmov     edi, 180h; __sz                                                ; +0x10, 0x1003aca90\ncall    __Znwm; operator new(ulong)                                    ; +0x15, 0x1003aca95\nmov     rbx, rax                                                       ; +0x1a, 0x1003aca9a\nmov     rdi, rax                                                       ; +0x1d, 0x1003aca9d\ncall    cocos2d__CCNode__CCNode                                        ; +0x20, 0x1003acaa0\nlea     rax, off_100B368A0                                             ; +0x25, 0x1003acaa5\nmov     [rbx], rax                                                     ; +0x2c, 0x1003acaac\nmov     rdi, rbx                                                       ; +0x2f, 0x1003acaaf\nadd     rdi, 164h                                                      ; +0x32, 0x1003acab2\nxorps   xmm0, xmm0                                                     ; +0x39, 0x1003acab9\nmovups  xmmword ptr [rbx+140h], xmm0                                   ; +0x3c, 0x1003acabc\nmovups  xmmword ptr [rbx+150h], xmm0                                   ; +0x43, 0x1003acac3\nmov     byte ptr [rbx+160h], 0                                         ; +0x4a, 0x1003acaca\ncall    sub_1002782A0                                                  ; +0x51, 0x1003acad1\nmov     dword ptr [rbx+170h], 0                                        ; +0x56, 0x1003acad6\nmov     byte ptr [rbx+174h], 0                                         ; +0x60, 0x1003acae0\nmov     qword ptr [rbx+178h], 0                                        ; +0x67, 0x1003acae7\nmov     rdi, rbx                                                       ; +0x72, 0x1003acaf2\nmov     esi, r15d                                                      ; +0x75, 0x1003acaf5\nmov     rdx, r14                                                       ; +0x78, 0x1003acaf8\ncall    GJWorldNode__init                                              ; +0x7b, 0x1003acafb\ntest    al, al                                                         ; +0x80, 0x1003acb00\njz      short loc_1003ACB0E                                            ; +0x82, 0x1003acb02\nmov     rdi, rbx                                                       ; +0x84, 0x1003acb04\ncall    cocos2d__CCObject__autorelease                                 ; +0x87, 0x1003acb07\njmp     short loc_1003ACB19                                            ; +0x8c, 0x1003acb0c\nmov     rax, [rbx]                                                     ; +0x8e, 0x1003acb0e\nmov     rdi, rbx                                                       ; +0x91, 0x1003acb11\ncall    qword ptr [rax+10h]                                            ; +0x94, 0x1003acb14\nxor     ebx, ebx                                                       ; +0x97, 0x1003acb17\nmov     rax, rbx                                                       ; +0x99, 0x1003acb19\nadd     rsp, 8                                                         ; +0x9c, 0x1003acb1c\npop     rbx                                                            ; +0xa0, 0x1003acb20\npop     r14                                                            ; +0xa1, 0x1003acb21\npop     r15                                                            ; +0xa3, 0x1003acb23\npop     rbp                                                            ; +0xa5, 0x1003acb25\nretn                                                                   ; +0xa6, 0x1003acb26", "xrefs": ["WorldSelectLayer::setupWorlds @ 0x1003abb49"], "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"}