{"type": "func", "start": 4299246720, "end": 4299246868, "name": "GJSmartTemplate::createWithCoder", "pseudocode": "// \n// GJSmartTemplate::createWithCoder from 0x100414c80 to 0x100414d14 (148 bytes)\n// \n// 1 xrefs:\n// > GJObjectDecoder::getDecodedObject @ 0x10080381f\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:10 +0000\n// \n\nchar *__fastcall GJSmartTemplate::createWithCoder(__int64 a1)\n{\n  char *v1; // rbx\n\n  v1 = (char *)operator new(0xC8u);\n  cocos2d::CCObject::CCObject(v1);\n  *(_QWORD *)v1 = off_100B3E8C0;\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(v1);\n  cocos2d::CCObject::autorelease(v1);\n  GJSmartTemplate::dataLoaded(v1, a1);\n  return v1;\n}", "assembly": "; \n; GJSmartTemplate::createWithCoder from 0x100414c80 to 0x100414d14 (148 bytes)\n; \n; 1 xrefs:\n; > GJObjectDecoder::getDecodedObject @ 0x10080381f\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:10 +0000\n; \npush    rbp                                                            ; +0x0, 0x100414c80\nmov     rbp, rsp                                                       ; +0x1, 0x100414c81\npush    r14                                                            ; +0x4, 0x100414c84\npush    rbx                                                            ; +0x6, 0x100414c86\nmov     r14, rdi                                                       ; +0x7, 0x100414c87\nmov     edi, 0C8h; __sz                                                ; +0xa, 0x100414c8a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x100414c8f\nmov     rbx, rax                                                       ; +0x14, 0x100414c94\nmov     rdi, rax                                                       ; +0x17, 0x100414c97\ncall    cocos2d__CCObject__CCObject                                    ; +0x1a, 0x100414c9a\nlea     rax, off_100B3E8C0                                             ; +0x1f, 0x100414c9f\nmov     [rbx], rax                                                     ; +0x26, 0x100414ca6\nmov     qword ptr [rbx+50h], 0                                         ; +0x29, 0x100414ca9\nmov     rax, rbx                                                       ; +0x31, 0x100414cb1\nadd     rax, 78h ; 'x'                                                 ; +0x34, 0x100414cb4\nxorps   xmm0, xmm0                                                     ; +0x38, 0x100414cb8\nmovups  xmmword ptr [rbx+78h], xmm0                                    ; +0x3b, 0x100414cbb\nmovups  xmmword ptr [rbx+38h], xmm0                                    ; +0x3f, 0x100414cbf\nmov     [rbx+70h], rax                                                 ; +0x43, 0x100414cc3\nmov     dword ptr [rbx+88h], 0                                         ; +0x47, 0x100414cc7\nmovups  xmmword ptr [rbx+90h], xmm0                                    ; +0x51, 0x100414cd1\nmovups  xmmword ptr [rbx+0A0h], xmm0                                   ; +0x58, 0x100414cd8\nmovups  xmmword ptr [rbx+0B0h], xmm0                                   ; +0x5f, 0x100414cdf\nmov     qword ptr [rbx+0C0h], 0                                        ; +0x66, 0x100414ce6\nmov     rdi, rbx                                                       ; +0x71, 0x100414cf1\ncall    GJSmartTemplate__init                                          ; +0x74, 0x100414cf4\nmov     rdi, rbx                                                       ; +0x79, 0x100414cf9\ncall    cocos2d__CCObject__autorelease                                 ; +0x7c, 0x100414cfc\nmov     rdi, rbx                                                       ; +0x81, 0x100414d01\nmov     rsi, r14                                                       ; +0x84, 0x100414d04\ncall    GJSmartTemplate__dataLoaded                                    ; +0x87, 0x100414d07\nmov     rax, rbx                                                       ; +0x8c, 0x100414d0c\npop     rbx                                                            ; +0x8f, 0x100414d0f\npop     r14                                                            ; +0x90, 0x100414d10\npop     rbp                                                            ; +0x92, 0x100414d12\nretn                                                                   ; +0x93, 0x100414d13", "xrefs": ["GJObjectDecoder::getDecodedObject @ 0x10080381f"], "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"}