{"type": "func", "start": 4299222000, "end": 4299222134, "name": "GJSmartTemplate::create", "pseudocode": "// \n// GJSmartTemplate::create from 0x10040ebf0 to 0x10040ec76 (134 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::createSmartTemplate @ 0x10054f03a\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:30:08 +0000\n// \n\nchar *GJSmartTemplate::create()\n{\n  char *v0; // rbx\n\n  v0 = (char *)operator new(0xC8u);\n  cocos2d::CCObject::CCObject(v0);\n  *(_QWORD *)v0 = off_100B3E8C0;\n  *((_QWORD *)v0 + 10) = 0;\n  *(_OWORD *)(v0 + 120) = 0;\n  *(_OWORD *)(v0 + 56) = 0;\n  *((_QWORD *)v0 + 14) = v0 + 120;\n  *((_DWORD *)v0 + 34) = 0;\n  *((_OWORD *)v0 + 9) = 0;\n  *((_OWORD *)v0 + 10) = 0;\n  *((_OWORD *)v0 + 11) = 0;\n  *((_QWORD *)v0 + 24) = 0;\n  GJSmartTemplate::init(v0);\n  cocos2d::CCObject::autorelease(v0);\n  return v0;\n}", "assembly": "; \n; GJSmartTemplate::create from 0x10040ebf0 to 0x10040ec76 (134 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::createSmartTemplate @ 0x10054f03a\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:30:08 +0000\n; \npush    rbp                                                            ; +0x0, 0x10040ebf0\nmov     rbp, rsp                                                       ; +0x1, 0x10040ebf1\npush    r14                                                            ; +0x4, 0x10040ebf4\npush    rbx                                                            ; +0x6, 0x10040ebf6\nmov     edi, 0C8h; __sz                                                ; +0x7, 0x10040ebf7\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x10040ebfc\nmov     rbx, rax                                                       ; +0x11, 0x10040ec01\nmov     rdi, rax                                                       ; +0x14, 0x10040ec04\ncall    cocos2d__CCObject__CCObject                                    ; +0x17, 0x10040ec07\nlea     rax, off_100B3E8C0                                             ; +0x1c, 0x10040ec0c\nmov     [rbx], rax                                                     ; +0x23, 0x10040ec13\nmov     qword ptr [rbx+50h], 0                                         ; +0x26, 0x10040ec16\nmov     rax, rbx                                                       ; +0x2e, 0x10040ec1e\nadd     rax, 78h ; 'x'                                                 ; +0x31, 0x10040ec21\nxorps   xmm0, xmm0                                                     ; +0x35, 0x10040ec25\nmovups  xmmword ptr [rbx+78h], xmm0                                    ; +0x38, 0x10040ec28\nmovups  xmmword ptr [rbx+38h], xmm0                                    ; +0x3c, 0x10040ec2c\nmov     [rbx+70h], rax                                                 ; +0x40, 0x10040ec30\nmov     dword ptr [rbx+88h], 0                                         ; +0x44, 0x10040ec34\nmovups  xmmword ptr [rbx+90h], xmm0                                    ; +0x4e, 0x10040ec3e\nmovups  xmmword ptr [rbx+0A0h], xmm0                                   ; +0x55, 0x10040ec45\nmovups  xmmword ptr [rbx+0B0h], xmm0                                   ; +0x5c, 0x10040ec4c\nmov     qword ptr [rbx+0C0h], 0                                        ; +0x63, 0x10040ec53\nmov     rdi, rbx                                                       ; +0x6e, 0x10040ec5e\ncall    GJSmartTemplate__init                                          ; +0x71, 0x10040ec61\nmov     rdi, rbx                                                       ; +0x76, 0x10040ec66\ncall    cocos2d__CCObject__autorelease                                 ; +0x79, 0x10040ec69\nmov     rax, rbx                                                       ; +0x7e, 0x10040ec6e\npop     rbx                                                            ; +0x81, 0x10040ec71\npop     r14                                                            ; +0x82, 0x10040ec72\npop     rbp                                                            ; +0x84, 0x10040ec74\nretn                                                                   ; +0x85, 0x10040ec75", "xrefs": ["GameLevelManager::createSmartTemplate @ 0x10054f03a"], "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"}