{"type": "func", "start": 4294984496, "end": 4294984612, "name": "GJSmartTemplate::create", "pseudocode": "// \n// GJSmartTemplate::create from 0x100004330 to 0x1000043a4 (116 bytes)\n// \n// 2 xrefs:\n// > GJSmartTemplate::createWithCoder @ 0x1000083c8\n// > sub_1000B0AD8 @ 0x1000b0ae8\n// \n// This function is hookable on this platform (idp: arm, 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 10:57:09 +0000\n// \n\n_QWORD *GJSmartTemplate::create()\n{\n  _QWORD *v0; // x19\n\n  v0 = operator new(0xC8u);\n  cocos2d::CCObject::CCObject();\n  *v0 = off_1008AD170;\n  v0[10] = 0;\n  v0[16] = 0;\n  v0[15] = 0;\n  v0[7] = 0;\n  v0[8] = 0;\n  v0[14] = v0 + 15;\n  *((_DWORD *)v0 + 34) = 0;\n  *((_OWORD *)v0 + 9) = 0u;\n  *((_OWORD *)v0 + 10) = 0u;\n  *((_OWORD *)v0 + 11) = 0u;\n  v0[24] = 0;\n  GJSmartTemplate::init(v0);\n  cocos2d::CCObject::autorelease(v0);\n  return v0;\n}", "assembly": "; \n; GJSmartTemplate::create from 0x100004330 to 0x1000043a4 (116 bytes)\n; \n; 2 xrefs:\n; > GJSmartTemplate::createWithCoder @ 0x1000083c8\n; > sub_1000B0AD8 @ 0x1000b0ae8\n; \n; This function is hookable on this platform (idp: arm, 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 10:57:09 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100004330\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100004334\nADD             X29, SP, #0x10                                         ; +0x8, 0x100004338\nMOV             W0, #0xC8; __sz                                        ; +0xc, 0x10000433c\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x100004340\nMOV             X19, X0                                                ; +0x14, 0x100004344\nBL              cocos2d__CCObject__CCObject                            ; +0x18, 0x100004348\nADRL            X8, off_1008AD170                                      ; +0x1c, 0x10000434c\nSTR             X8, [X19]                                              ; +0x24, 0x100004354\nSTR             XZR, [X19,#0x50]                                       ; +0x28, 0x100004358\nSTR             XZR, [X19,#0x80]                                       ; +0x2c, 0x10000435c\nMOV             X8, X19                                                ; +0x30, 0x100004360\nSTR             XZR, [X8,#0x78]!                                       ; +0x34, 0x100004364\nSTP             XZR, XZR, [X19,#0x38]                                  ; +0x38, 0x100004368\nSTR             X8, [X19,#0x70]                                        ; +0x3c, 0x10000436c\nSTR             WZR, [X19,#0x88]                                       ; +0x40, 0x100004370\nMOVI            V0.16B, #0                                             ; +0x44, 0x100004374\nSTP             Q0, Q0, [X19,#0x90]                                    ; +0x48, 0x100004378\nSTR             Q0, [X19,#0xB0]                                        ; +0x4c, 0x10000437c\nSTR             XZR, [X19,#0xC0]                                       ; +0x50, 0x100004380\nMOV             X0, X19                                                ; +0x54, 0x100004384\nBL              GJSmartTemplate__init                                  ; +0x58, 0x100004388\nMOV             X0, X19                                                ; +0x5c, 0x10000438c\nBL              cocos2d__CCObject__autorelease                         ; +0x60, 0x100004390\nMOV             X0, X19                                                ; +0x64, 0x100004394\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x100004398\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x10000439c\nRET                                                                    ; +0x70, 0x1000043a0", "xrefs": ["GJSmartTemplate::createWithCoder @ 0x1000083c8", "sub_1000B0AD8 @ 0x1000b0ae8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}