{"type": "func", "start": 4299325456, "end": 4299325604, "name": "GJSmartTemplate::createWithCoder", "pseudocode": "// \n// GJSmartTemplate::createWithCoder from 0x100428010 to 0x1004280a4 (148 bytes)\n// \n// 1 xrefs:\n// > GJObjectDecoder::getDecodedObject @ 0x1007248ff\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nGJSmartTemplate *__fastcall GJSmartTemplate::createWithCoder(DS_Dictionary *a1)\n{\n  char *v1; // rbx\n\n  v1 = (char *)operator new(0xC8u);\n  cocos2d::CCObject::CCObject(v1);\n  *(_QWORD *)v1 = off_100934C38;\n  *((_QWORD *)v1 + 10) = 0;\n  *(_OWORD *)(v1 + 120) = 0;\n  *(_OWORD *)(v1 + 56) = 0;\n  *((_QWORD *)v1 + 14) = v1 + 120;\n  *((_DWORD *)v1 + 34) = 0;\n  *((_OWORD *)v1 + 9) = 0;\n  *((_OWORD *)v1 + 10) = 0;\n  *((_OWORD *)v1 + 11) = 0;\n  *((_QWORD *)v1 + 24) = 0;\n  GJSmartTemplate::init((GJSmartTemplate *)v1);\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);\n  GJSmartTemplate::dataLoaded((GJSmartTemplate *)v1, a1);\n  return (GJSmartTemplate *)v1;\n}", "assembly": "; \n; GJSmartTemplate::createWithCoder from 0x100428010 to 0x1004280a4 (148 bytes)\n; \n; 1 xrefs:\n; > GJObjectDecoder::getDecodedObject @ 0x1007248ff\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100428010\nmov     rbp, rsp                                                       ; +0x1, 0x100428011\npush    r14                                                            ; +0x4, 0x100428014\npush    rbx                                                            ; +0x6, 0x100428016\nmov     r14, rdi                                                       ; +0x7, 0x100428017\nmov     edi, 0C8h; __sz                                                ; +0xa, 0x10042801a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x10042801f\nmov     rbx, rax                                                       ; +0x14, 0x100428024\nmov     rdi, rax                                                       ; +0x17, 0x100428027\ncall    cocos2d__CCObject__CCObject                                    ; +0x1a, 0x10042802a\nlea     rax, off_100934C38                                             ; +0x1f, 0x10042802f\nmov     [rbx], rax                                                     ; +0x26, 0x100428036\nmov     qword ptr [rbx+50h], 0                                         ; +0x29, 0x100428039\nmov     rax, rbx                                                       ; +0x31, 0x100428041\nadd     rax, 78h ; 'x'                                                 ; +0x34, 0x100428044\nxorps   xmm0, xmm0                                                     ; +0x38, 0x100428048\nmovups  xmmword ptr [rbx+78h], xmm0                                    ; +0x3b, 0x10042804b\nmovups  xmmword ptr [rbx+38h], xmm0                                    ; +0x3f, 0x10042804f\nmov     [rbx+70h], rax                                                 ; +0x43, 0x100428053\nmov     dword ptr [rbx+88h], 0                                         ; +0x47, 0x100428057\nmovups  xmmword ptr [rbx+90h], xmm0                                    ; +0x51, 0x100428061\nmovups  xmmword ptr [rbx+0A0h], xmm0                                   ; +0x58, 0x100428068\nmovups  xmmword ptr [rbx+0B0h], xmm0                                   ; +0x5f, 0x10042806f\nmov     qword ptr [rbx+0C0h], 0                                        ; +0x66, 0x100428076\nmov     rdi, rbx                                                       ; +0x71, 0x100428081\ncall    GJSmartTemplate__init                                          ; +0x74, 0x100428084\nmov     rdi, rbx                                                       ; +0x79, 0x100428089\ncall    cocos2d__CCObject__autorelease                                 ; +0x7c, 0x10042808c\nmov     rdi, rbx                                                       ; +0x81, 0x100428091\nmov     rsi, r14                                                       ; +0x84, 0x100428094\ncall    GJSmartTemplate__dataLoaded                                    ; +0x87, 0x100428097\nmov     rax, rbx                                                       ; +0x8c, 0x10042809c\npop     rbx                                                            ; +0x8f, 0x10042809f\npop     r14                                                            ; +0x90, 0x1004280a0\npop     rbp                                                            ; +0x92, 0x1004280a2\nretn                                                                   ; +0x93, 0x1004280a3", "xrefs": ["GJObjectDecoder::getDecodedObject @ 0x1007248ff"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}