{"type": "func", "start": 5303116, "end": 5303234, "name": "GJBigSpriteNode::create", "pseudocode": "// \n// GJBigSpriteNode::create from 0x50eb4c to 0x50ebc2 (118 bytes)\n// \n// 1 xrefs:\n// > GJBigSprite::init @ 0x50f528\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; // r4\n  GJBigSpriteNode_vtbl *v1; // r3\n  GJBigSpriteNode_vtbl *v2; // r3\n  GJBigSpriteNode *v3; // r0\n\n  v0 = (GJBigSpriteNode *)operator new(0x124u);\n  cocos2d::CCNode::CCNode(v0);\n  v0->__vftable = (GJBigSpriteNode_vtbl *)&off_A82E50;\n  v0->m_spriteName.m_data.m_data = (stl::StringData<char>::Internal *)&unk_ACDDA8;\n  v0->m_sprite = nullptr;\n  cocos2d::CCRect::CCRect(&v0->m_spriteRect);\n  v1 = v0->__vftable;\n  v0->m_spriteVisible = 0;\n  if ( ((int (__fastcall *)(GJBigSpriteNode *))v1->init)(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    v2 = v0->__vftable;\n    v3 = v0;\n    v0 = nullptr;\n    v2->~GJBigSpriteNode_0(v3);\n  }\n  return v0;\n}", "assembly": "; \n; GJBigSpriteNode::create from 0x50eb4c to 0x50ebc2 (118 bytes)\n; \n; 1 xrefs:\n; > GJBigSprite::init @ 0x50f528\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\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x50eb4c\nMOV.W           R0, #0x124; unsigned int                               ; +0x2, 0x50eb4e\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x50eb52\nMOV             R4, R0                                                 ; +0xa, 0x50eb56\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0xc, 0x50eb58\nLDR             R3, =(_ZTV15GJBigSpriteNode_ptr - 0x50EB66)            ; +0x10, 0x50eb5c\nADD.W           R0, R4, #0x110; this                                   ; +0x12, 0x50eb5e\nADD             R3, PC; _ZTV15GJBigSpriteNode_ptr                      ; +0x16, 0x50eb62\nLDR             R3, [R3]; `vtable for'GJBigSpriteNode ...              ; +0x18, 0x50eb64\nADDS            R3, #8                                                 ; +0x1a, 0x50eb66\nSTR             R3, [R4]                                               ; +0x1c, 0x50eb68\nLDR             R3, =(off_AB5BA0 - 0x50EB70)                           ; +0x1e, 0x50eb6a\nADD             R3, PC; off_AB5BA0                                     ; +0x20, 0x50eb6c\nLDR             R3, [R3]; dword_ACDD9C                                 ; +0x22, 0x50eb6e\nADDS            R3, #0xC                                               ; +0x24, 0x50eb70\nSTR.W           R3, [R4,#0x108]                                        ; +0x26, 0x50eb72\nMOVS            R3, #0                                                 ; +0x2a, 0x50eb76\nSTR.W           R3, [R4,#0x10C]                                        ; +0x2c, 0x50eb78\nMOV             R5, R3                                                 ; +0x30, 0x50eb7c\nBL              _ZN7cocos2d6CCRectC1Ev; cocos2d::CCRect::CCRect(void)  ; +0x32, 0x50eb7e\nLDR             R3, [R4]                                               ; +0x36, 0x50eb82\nMOV             R0, R4                                                 ; +0x38, 0x50eb84\nSTRB.W          R5, [R4,#0x120]                                        ; +0x3a, 0x50eb86\nLDR             R3, [R3,#0x28]                                         ; +0x3e, 0x50eb8a\nBLX             R3                                                     ; +0x40, 0x50eb8c\nMOV             R5, R0                                                 ; +0x42, 0x50eb8e\nCBZ             R0, loc_50EBB4                                         ; +0x44, 0x50eb90\nMOV             R0, R4; this                                           ; +0x46, 0x50eb92\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x48, 0x50eb94\nB               loc_50EBBE                                             ; +0x4c, 0x50eb98\nADD.W           R0, R4, #0x108                                         ; +0x4e, 0x50eb9a\nBL              sub_774008                                             ; +0x52, 0x50eb9e\nMOV             R0, R4; this                                           ; +0x56, 0x50eba2\nBL              _ZN7cocos2d6CCNodeD2Ev; cocos2d::CCNode::~CCNode()     ; +0x58, 0x50eba4\nB               loc_50EBAA                                             ; +0x5c, 0x50eba8\nMOV             R0, R4; p                                              ; +0x5e, 0x50ebaa\nBL              _ZdlPv; operator delete(void *)                        ; +0x60, 0x50ebac\nBL              __cxa_end_cleanup                                      ; +0x64, 0x50ebb0\nLDR             R3, [R4]                                               ; +0x68, 0x50ebb4\nMOV             R0, R4                                                 ; +0x6a, 0x50ebb6\nMOV             R4, R5                                                 ; +0x6c, 0x50ebb8\nLDR             R3, [R3,#8]                                            ; +0x6e, 0x50ebba\nBLX             R3                                                     ; +0x70, 0x50ebbc\nMOV             R0, R4                                                 ; +0x72, 0x50ebbe\nPOP             {R3-R5,PC}                                             ; +0x74, 0x50ebc0", "xrefs": ["GJBigSprite::init @ 0x50f528"], "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"}