{"type": "func", "start": 5303244, "end": 5303342, "name": "GJBigSprite::create", "pseudocode": "// \n// GJBigSprite::create from 0x50ebcc to 0x50ec2e (98 bytes)\n// \n// 1 xrefs:\n// > MapSelectLayer::init @ 0x50f76e\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\nGJBigSprite *GJBigSprite::create()\n{\n  GJBigSprite *v0; // r4\n  GJBigSprite_vtbl *v1; // r3\n  GJBigSprite *v2; // r0\n\n  v0 = (GJBigSprite *)operator new(0x12Cu);\n  cocos2d::CCNode::CCNode(v0);\n  v0->__vftable = (GJBigSprite_vtbl *)&off_A83010;\n  v0->m_spritesLoaded.m_start.m_bitptr = nullptr;\n  v0->m_spritesLoaded.m_start.m_offset = 0;\n  v0->m_spritesLoaded.m_end.m_bitptr = nullptr;\n  v0->m_spritesLoaded.m_end.m_offset = 0;\n  v0->m_spritesLoaded.m_capacity_end = nullptr;\n  v0->m_loadSprites = 0;\n  v0->m_unloadingAll = 0;\n  if ( GJBigSprite::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    v1 = v0->__vftable;\n    v2 = v0;\n    v0 = nullptr;\n    v1->~GJBigSprite_0(v2);\n  }\n  return v0;\n}", "assembly": "; \n; GJBigSprite::create from 0x50ebcc to 0x50ec2e (98 bytes)\n; \n; 1 xrefs:\n; > MapSelectLayer::init @ 0x50f76e\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, 0x50ebcc\nMOV.W           R0, #0x12C; unsigned int                               ; +0x2, 0x50ebce\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x50ebd2\nMOV             R4, R0                                                 ; +0xa, 0x50ebd6\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0xc, 0x50ebd8\nLDR             R3, =(_ZTV11GJBigSprite_ptr - 0x50EBE4)                ; +0x10, 0x50ebdc\nMOV             R0, R4; this                                           ; +0x12, 0x50ebde\nADD             R3, PC; _ZTV11GJBigSprite_ptr                          ; +0x14, 0x50ebe0\nLDR             R3, [R3]; `vtable for'GJBigSprite ...                  ; +0x16, 0x50ebe2\nADDS            R3, #8                                                 ; +0x18, 0x50ebe4\nSTR             R3, [R4]                                               ; +0x1a, 0x50ebe6\nMOVS            R3, #0                                                 ; +0x1c, 0x50ebe8\nSTR.W           R3, [R4,#0x108]                                        ; +0x1e, 0x50ebea\nSTR.W           R3, [R4,#0x10C]                                        ; +0x22, 0x50ebee\nSTR.W           R3, [R4,#0x110]                                        ; +0x26, 0x50ebf2\nSTR.W           R3, [R4,#0x114]                                        ; +0x2a, 0x50ebf6\nSTR.W           R3, [R4,#0x118]                                        ; +0x2e, 0x50ebfa\nSTRB.W          R3, [R4,#0x128]                                        ; +0x32, 0x50ebfe\nSTRB.W          R3, [R4,#0x129]                                        ; +0x36, 0x50ec02\nBL              _ZN11GJBigSprite4initEv; GJBigSprite::init(void)       ; +0x3a, 0x50ec06\nMOV             R5, R0                                                 ; +0x3e, 0x50ec0a\nCBZ             R0, loc_50EC20                                         ; +0x40, 0x50ec0c\nMOV             R0, R4; this                                           ; +0x42, 0x50ec0e\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x44, 0x50ec10\nB               loc_50EC2A                                             ; +0x48, 0x50ec14\nMOV             R0, R4; p                                              ; +0x4a, 0x50ec16\nBL              _ZdlPv; operator delete(void *)                        ; +0x4c, 0x50ec18\nBL              __cxa_end_cleanup                                      ; +0x50, 0x50ec1c\nLDR             R3, [R4]                                               ; +0x54, 0x50ec20\nMOV             R0, R4                                                 ; +0x56, 0x50ec22\nMOV             R4, R5                                                 ; +0x58, 0x50ec24\nLDR             R3, [R3,#8]                                            ; +0x5a, 0x50ec26\nBLX             R3                                                     ; +0x5c, 0x50ec28\nMOV             R0, R4                                                 ; +0x5e, 0x50ec2a\nPOP             {R3-R5,PC}                                             ; +0x60, 0x50ec2c", "xrefs": ["MapSelectLayer::init @ 0x50f76e"], "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"}