{"type": "func", "start": 4301731216, "end": 4301731486, "name": "EnhancedGameObject::create", "pseudocode": "// \n// EnhancedGameObject::create from 0x100673590 to 0x10067369e (270 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x10066eba0\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:35:02 +0000\n// \n\nchar *__fastcall EnhancedGameObject::create(__int64 a1)\n{\n  char *v1; // rbx\n\n  v1 = (char *)operator new(0x5A8u);\n  GameObject::GameObject((__int64)v1);\n  *(_QWORD *)v1 = off_100B84668;\n  *((_QWORD *)v1 + 40) = off_100B84DC0;\n  *((_QWORD *)v1 + 43) = off_100B84E40;\n  *(_OWORD *)(v1 + 1347) = 0;\n  *(_QWORD *)(v1 + 1361) = 0;\n  *((_DWORD *)v1 + 343) = 1065353216;\n  *((_WORD *)v1 + 688) = 0;\n  v1[1378] = 0;\n  *(_QWORD *)(v1 + 1380) = 0x13F800000LL;\n  v1[1388] = 0;\n  *((_OWORD *)v1 + 87) = 0;\n  v1[1408] = 0;\n  *((_DWORD *)v1 + 353) = 1065353216;\n  *((_WORD *)v1 + 712) = 0;\n  *((_QWORD *)v1 + 177) = 0;\n  *(_OWORD *)(v1 + 1428) = 0;\n  *(_DWORD *)(v1 + 1443) = 0;\n  if ( (unsigned __int8)CCSpritePlus::initWithSpriteFrameName((__int64)v1, a1, 0.0) )\n  {\n    GameObject::commonSetup(v1);\n    *((_DWORD *)v1 + 312) = 4;\n    v1[313] = 0;\n    cocos2d::CCObject::autorelease((__int64)v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; EnhancedGameObject::create from 0x100673590 to 0x10067369e (270 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x10066eba0\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:35:02 +0000\n; \npush    rbp                                                            ; +0x0, 0x100673590\nmov     rbp, rsp                                                       ; +0x1, 0x100673591\npush    r14                                                            ; +0x4, 0x100673594\npush    rbx                                                            ; +0x6, 0x100673596\nmov     r14, rdi                                                       ; +0x7, 0x100673597\nmov     edi, 5A8h; __sz                                                ; +0xa, 0x10067359a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x10067359f\nmov     rbx, rax                                                       ; +0x14, 0x1006735a4\nmov     rdi, rax                                                       ; +0x17, 0x1006735a7\ncall    GameObject__GameObject                                         ; +0x1a, 0x1006735aa\nlea     rax, off_100B84668                                             ; +0x1f, 0x1006735af\nmov     [rbx], rax                                                     ; +0x26, 0x1006735b6\nlea     rax, off_100B84DC0                                             ; +0x29, 0x1006735b9\nmov     [rbx+140h], rax                                                ; +0x30, 0x1006735c0\nlea     rax, off_100B84E40                                             ; +0x37, 0x1006735c7\nmov     [rbx+158h], rax                                                ; +0x3e, 0x1006735ce\nxorps   xmm0, xmm0                                                     ; +0x45, 0x1006735d5\nmovups  xmmword ptr [rbx+543h], xmm0                                   ; +0x48, 0x1006735d8\nmov     qword ptr [rbx+551h], 0                                        ; +0x4f, 0x1006735df\nmov     dword ptr [rbx+55Ch], 3F800000h                                ; +0x5a, 0x1006735ea\nmov     word ptr [rbx+560h], 0                                         ; +0x64, 0x1006735f4\nmov     byte ptr [rbx+562h], 0                                         ; +0x6d, 0x1006735fd\nmov     rax, 13F800000h                                                ; +0x74, 0x100673604\nmov     [rbx+564h], rax                                                ; +0x7e, 0x10067360e\nmov     byte ptr [rbx+56Ch], 0                                         ; +0x85, 0x100673615\nmovups  xmmword ptr [rbx+570h], xmm0                                   ; +0x8c, 0x10067361c\nmov     byte ptr [rbx+580h], 0                                         ; +0x93, 0x100673623\nmov     dword ptr [rbx+584h], 3F800000h                                ; +0x9a, 0x10067362a\nmov     word ptr [rbx+590h], 0                                         ; +0xa4, 0x100673634\nmov     qword ptr [rbx+588h], 0                                        ; +0xad, 0x10067363d\nmovups  xmmword ptr [rbx+594h], xmm0                                   ; +0xb8, 0x100673648\nmov     dword ptr [rbx+5A3h], 0                                        ; +0xbf, 0x10067364f\nmov     rdi, rbx                                                       ; +0xc9, 0x100673659\nmov     rsi, r14                                                       ; +0xcc, 0x10067365c\ncall    CCSpritePlus__initWithSpriteFrameName                          ; +0xcf, 0x10067365f\ntest    al, al                                                         ; +0xd4, 0x100673664\njz      short loc_10067368B                                            ; +0xd6, 0x100673666\nmov     rdi, rbx                                                       ; +0xd8, 0x100673668\ncall    GameObject__commonSetup                                        ; +0xdb, 0x10067366b\nmov     dword ptr [rbx+4E0h], 4                                        ; +0xe0, 0x100673670\nmov     byte ptr [rbx+139h], 0                                         ; +0xea, 0x10067367a\nmov     rdi, rbx                                                       ; +0xf1, 0x100673681\ncall    cocos2d__CCObject__autorelease                                 ; +0xf4, 0x100673684\njmp     short loc_100673696                                            ; +0xf9, 0x100673689\nmov     rax, [rbx]                                                     ; +0xfb, 0x10067368b\nmov     rdi, rbx                                                       ; +0xfe, 0x10067368e\ncall    qword ptr [rax+10h]                                            ; +0x101, 0x100673691\nxor     ebx, ebx                                                       ; +0x104, 0x100673694\nmov     rax, rbx                                                       ; +0x106, 0x100673696\npop     rbx                                                            ; +0x109, 0x100673699\npop     r14                                                            ; +0x10a, 0x10067369a\npop     rbp                                                            ; +0x10c, 0x10067369c\nretn                                                                   ; +0x10d, 0x10067369d", "xrefs": ["GameObject::createWithKey @ 0x10066eba0"], "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"}