{"type": "func", "start": 4294985244, "end": 4294985348, "name": "GJSmartPrefab::create", "pseudocode": "// \n// GJSmartPrefab::create from 0x10000461c to 0x100004684 (104 bytes)\n// \n// 2 xrefs:\n// > GJSmartTemplate::savePrefab @ 0x100004518\n// > GJSmartPrefab::createWithCoder @ 0x100008750\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\nGJSmartPrefab *__fastcall GJSmartPrefab::create()\n{\n  char *v0; // x19\n  int v1; // w9\n\n  v0 = (char *)operator new(0x70u);\n  cocos2d::CCObject::CCObject();\n  *(_QWORD *)v0 = off_100761C80;\n  *((_QWORD *)v0 + 13) = 0;\n  *(_OWORD *)(v0 + 56) = 0u;\n  *(_OWORD *)(v0 + 72) = 0u;\n  *(_OWORD *)(v0 + 88) = 0u;\n  v1 = dword_10084BE00++;\n  *((_DWORD *)v0 + 26) = v1;\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n  return (GJSmartPrefab *)v0;\n}", "assembly": "; \n; GJSmartPrefab::create from 0x10000461c to 0x100004684 (104 bytes)\n; \n; 2 xrefs:\n; > GJSmartTemplate::savePrefab @ 0x100004518\n; > GJSmartPrefab::createWithCoder @ 0x100008750\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10000461c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100004620\nADD             X29, SP, #0x10                                         ; +0x8, 0x100004624\nMOV             W0, #0x70 ; 'p'; __sz                                  ; +0xc, 0x100004628\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x10000462c\nMOV             X19, X0                                                ; +0x14, 0x100004630\nBL              cocos2d__CCObject__CCObject                            ; +0x18, 0x100004634\nADRL            X8, off_100761C80                                      ; +0x1c, 0x100004638\nSTR             X8, [X19]                                              ; +0x24, 0x100004640\nSTR             XZR, [X19,#0x68]                                       ; +0x28, 0x100004644\nMOVI            V0.16B, #0                                             ; +0x2c, 0x100004648\nSTUR            Q0, [X19,#0x38]                                        ; +0x30, 0x10000464c\nSTUR            Q0, [X19,#0x48]                                        ; +0x34, 0x100004650\nSTUR            Q0, [X19,#0x58]                                        ; +0x38, 0x100004654\nADRP            X8, #dword_10084BE00@PAGE                              ; +0x3c, 0x100004658\nLDR             W9, [X8,#dword_10084BE00@PAGEOFF]                      ; +0x40, 0x10000465c\nADD             W10, W9, #1                                            ; +0x44, 0x100004660\nSTR             W10, [X8,#dword_10084BE00@PAGEOFF]                     ; +0x48, 0x100004664\nSTR             W9, [X19,#0x68]                                        ; +0x4c, 0x100004668\nMOV             X0, X19                                                ; +0x50, 0x10000466c\nBL              cocos2d__CCObject__autorelease                         ; +0x54, 0x100004670\nMOV             X0, X19                                                ; +0x58, 0x100004674\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x100004678\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x10000467c\nRET                                                                    ; +0x64, 0x100004680", "xrefs": ["GJSmartTemplate::savePrefab @ 0x100004518", "GJSmartPrefab::createWithCoder @ 0x100008750"], "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"}