{"type": "func", "start": 9958056, "end": 9958316, "name": "GJBigSpriteNode::create", "pseudocode": "// \n// GJBigSpriteNode::create from 0x97f2a8 to 0x97f3ac (260 bytes)\n// \n// 2 xrefs:\n// > GJBigSprite::init @ 0x98025c\n// > <???> @ 0x77130\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\nGJBigSpriteNode *GJBigSpriteNode::create()\n{\n  GJBigSpriteNode *v0; // x19\n  GJBigSpriteNode_vtbl *v1; // x1\n  GJBigSpriteNode_vtbl *v3; // x1\n  GJBigSpriteNode *v4; // x0\n\n  v0 = (GJBigSpriteNode *)operator new(0x168u);\n  cocos2d::CCNode::CCNode(v0);\n  v0->__vftable = (GJBigSpriteNode_vtbl *)&off_11C4010;\n  v0->m_sprite = nullptr;\n  v0->m_spriteName.m_data.m_data = (stl::StringData<char>::Internal *)&byte_124B6C8;\n  cocos2d::CCRect::CCRect(&v0->m_spriteRect);\n  v1 = v0->__vftable;\n  v0->m_spriteVisible = 0;\n  if ( v1->init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    v3 = v0->__vftable;\n    v4 = v0;\n    v0 = nullptr;\n    v3->~GJBigSpriteNode_0(v4);\n  }\n  return v0;\n}", "assembly": "; \n; GJBigSpriteNode::create from 0x97f2a8 to 0x97f3ac (260 bytes)\n; \n; 2 xrefs:\n; > GJBigSprite::init @ 0x98025c\n; > <???> @ 0x77130\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             X29, X30, [SP,#var_40]!                                ; +0x0, 0x97f2a8\nMOV             X0, #0x168; unsigned __int64                           ; +0x4, 0x97f2ac\nMOV             X29, SP                                                ; +0x8, 0x97f2b0\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0xc, 0x97f2b4\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x97f2b8\nSTR             X21, [SP,#0x40+var_20]                                 ; +0x14, 0x97f2bc\nLDR             X1, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0x97f2c0\nLDR             X1, [X1]                                               ; +0x1c, 0x97f2c4\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x20, 0x97f2c8\nBL              _Znwm; operator new(ulong)                             ; +0x24, 0x97f2cc\nMOV             X19, X0                                                ; +0x28, 0x97f2d0\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0x2c, 0x97f2d4\nADRP            X1, #_ZTV15GJBigSpriteNode_ptr@PAGE                    ; +0x30, 0x97f2d8\nADRP            X21, #off_122EFE8@PAGE                                 ; +0x34, 0x97f2dc\nADD             X0, X19, #0x150; this                                  ; +0x38, 0x97f2e0\nLDR             X1, [X1,#_ZTV15GJBigSpriteNode_ptr@PAGEOFF]; `vtable for'GJBigSpriteNode ... ; +0x3c, 0x97f2e4\nADD             X1, X1, #0x10                                          ; +0x40, 0x97f2e8\nSTR             X1, [X19]                                              ; +0x44, 0x97f2ec\nLDR             X1, [X21,#off_122EFE8@PAGEOFF]; qword_124B6B0          ; +0x48, 0x97f2f0\nSTR             XZR, [X19,#0x148]                                      ; +0x4c, 0x97f2f4\nADD             X1, X1, #0x18                                          ; +0x50, 0x97f2f8\nSTR             X1, [X19,#0x140]                                       ; +0x54, 0x97f2fc\nBL              _ZN7cocos2d6CCRectC1Ev; cocos2d::CCRect::CCRect(void)  ; +0x58, 0x97f300\nLDR             X1, [X19]                                              ; +0x5c, 0x97f304\nMOV             X0, X19                                                ; +0x60, 0x97f308\nSTRB            WZR, [X19,#0x160]                                      ; +0x64, 0x97f30c\nLDR             X1, [X1,#0x50]                                         ; +0x68, 0x97f310\nBLR             X1                                                     ; +0x6c, 0x97f314\nUXTB            W0, W0                                                 ; +0x70, 0x97f318\nCBZ             W0, loc_97F350                                         ; +0x74, 0x97f31c\nMOV             X0, X19; this                                          ; +0x78, 0x97f320\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x7c, 0x97f324\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x80, 0x97f328\nMOV             X0, X19                                                ; +0x84, 0x97f32c\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x88, 0x97f330\nLDR             X1, [X20]                                              ; +0x8c, 0x97f334\nCMP             X2, X1                                                 ; +0x90, 0x97f338\nB.NE            loc_97F368                                             ; +0x94, 0x97f33c\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x98, 0x97f340\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x9c, 0x97f344\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xa0, 0x97f348\nRET                                                                    ; +0xa4, 0x97f34c\nLDR             X1, [X19]                                              ; +0xa8, 0x97f350\nMOV             X0, X19                                                ; +0xac, 0x97f354\nMOV             X19, #0                                                ; +0xb0, 0x97f358\nLDR             X1, [X1,#0x10]                                         ; +0xb4, 0x97f35c\nBLR             X1                                                     ; +0xb8, 0x97f360\nB               loc_97F328                                             ; +0xbc, 0x97f364\nBL              .__stack_chk_fail                                      ; +0xc0, 0x97f368\nLDR             X1, [X19,#0x140]                                       ; +0xc4, 0x97f36c\nMOV             X20, X0                                                ; +0xc8, 0x97f370\nLDR             X21, [X21,#0xFE8]                                      ; +0xcc, 0x97f374\nSUB             X0, X1, #0x18                                          ; +0xd0, 0x97f378\nCMP             X0, X21                                                ; +0xd4, 0x97f37c\nB.EQ            loc_97F38C                                             ; +0xd8, 0x97f380\nADD             X1, X29, #0x40+var_10                                  ; +0xdc, 0x97f384\nBL              sub_4DD320                                             ; +0xe0, 0x97f388\nMOV             X0, X19; this                                          ; +0xe4, 0x97f38c\nBL              _ZN7cocos2d6CCNodeD1Ev; cocos2d::CCNode::~CCNode()     ; +0xe8, 0x97f390\nMOV             X0, X19; p                                             ; +0xec, 0x97f394\nBL              _ZdlPv; operator delete(void *)                        ; +0xf0, 0x97f398\nMOV             X0, X20                                                ; +0xf4, 0x97f39c\nBL              _Unwind_Resume                                         ; +0xf8, 0x97f3a0\nMOV             X20, X0                                                ; +0xfc, 0x97f3a4\nB               loc_97F394                                             ; +0x100, 0x97f3a8", "xrefs": ["GJBigSprite::init @ 0x98025c", "<???> @ 0x77130"], "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"}