{"type": "func", "start": 4295004396, "end": 4295004496, "name": "GJSmartBlockPreviewSprite::create", "pseudocode": "// \n// GJSmartBlockPreviewSprite::create from 0x1000090ec to 0x100009150 (100 bytes)\n// \n// 1 xrefs:\n// > GJSmartBlockPreview::addTemplateGuide_1 @ 0x100008d4c\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\nGJSmartBlockPreviewSprite *__fastcall GJSmartBlockPreviewSprite::create()\n{\n  GJSmartBlockPreviewSprite *v0; // x19\n\n  v0 = (GJSmartBlockPreviewSprite *)operator new(0x140u);\n  cocos2d::CCNode::CCNode();\n  v0->__vftable = (GJSmartBlockPreviewSprite_vtbl *)&off_1007620A8;\n  if ( cocos2d::CCNode::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    ((void (__fastcall *)(GJSmartBlockPreviewSprite *))v0->~GJSmartBlockPreviewSprite_0)(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; GJSmartBlockPreviewSprite::create from 0x1000090ec to 0x100009150 (100 bytes)\n; \n; 1 xrefs:\n; > GJSmartBlockPreview::addTemplateGuide_1 @ 0x100008d4c\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, 0x1000090ec\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000090f0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000090f4\nMOV             W0, #0x140; __sz                                       ; +0xc, 0x1000090f8\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x1000090fc\nMOV             X19, X0                                                ; +0x14, 0x100009100\nBL              cocos2d__CCNode__CCNode                                ; +0x18, 0x100009104\nADRL            X8, off_1007620A8                                      ; +0x1c, 0x100009108\nSTR             X8, [X19]                                              ; +0x24, 0x100009110\nMOV             X0, X19                                                ; +0x28, 0x100009114\nBL              cocos2d__CCNode__init                                  ; +0x2c, 0x100009118\nCBZ             W0, loc_10000912C                                      ; +0x30, 0x10000911c\nMOV             X0, X19                                                ; +0x34, 0x100009120\nBL              cocos2d__CCObject__autorelease                         ; +0x38, 0x100009124\nB               loc_100009140                                          ; +0x3c, 0x100009128\nLDR             X8, [X19]                                              ; +0x40, 0x10000912c\nLDR             X8, [X8,#0x10]                                         ; +0x44, 0x100009130\nMOV             X0, X19                                                ; +0x48, 0x100009134\nBLR             X8                                                     ; +0x4c, 0x100009138\nMOV             X19, #0                                                ; +0x50, 0x10000913c\nMOV             X0, X19                                                ; +0x54, 0x100009140\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x58, 0x100009144\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x5c, 0x100009148\nRET                                                                    ; +0x60, 0x10000914c", "xrefs": ["GJSmartBlockPreview::addTemplateGuide_1 @ 0x100008d4c"], "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"}