{"type": "func", "start": 9962472, "end": 9962640, "name": "GJBigSprite::create", "pseudocode": "// \n// GJBigSprite::create from 0x9803e8 to 0x980490 (168 bytes)\n// \n// 2 xrefs:\n// > MapSelectLayer::init @ 0x9805d0\n// > <???> @ 0xac5a8\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; // x19\n\n  v0 = (GJBigSprite *)operator new(0x180u);\n  cocos2d::CCNode::CCNode(v0);\n  v0->m_spritesLoaded.m_start.m_bitptr = nullptr;\n  v0->m_spritesLoaded.m_start.m_offset = 0;\n  v0->__vftable = (GJBigSprite_vtbl *)&off_11C3C90;\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    return v0;\n  }\n  else\n  {\n    v0->~GJBigSprite_0(v0);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJBigSprite::create from 0x9803e8 to 0x980490 (168 bytes)\n; \n; 2 xrefs:\n; > MapSelectLayer::init @ 0x9805d0\n; > <???> @ 0xac5a8\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,#-0x20+var_s0]!                          ; +0x0, 0x9803e8\nMOV             X0, #0x180; unsigned __int64                           ; +0x4, 0x9803ec\nMOV             X29, SP                                                ; +0x8, 0x9803f0\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x9803f4\nBL              _Znwm; operator new(ulong)                             ; +0x10, 0x9803f8\nMOV             X19, X0                                                ; +0x14, 0x9803fc\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0x18, 0x980400\nADRP            X1, #_ZTV11GJBigSprite_ptr@PAGE                        ; +0x1c, 0x980404\nMOV             X0, X19; this                                          ; +0x20, 0x980408\nLDR             X1, [X1,#_ZTV11GJBigSprite_ptr@PAGEOFF]; `vtable for'GJBigSprite ... ; +0x24, 0x98040c\nSTR             XZR, [X19,#0x140]                                      ; +0x28, 0x980410\nADD             X1, X1, #0x10                                          ; +0x2c, 0x980414\nSTR             WZR, [X19,#0x148]                                      ; +0x30, 0x980418\nSTR             X1, [X19]                                              ; +0x34, 0x98041c\nSTR             XZR, [X19,#0x150]                                      ; +0x38, 0x980420\nSTR             WZR, [X19,#0x158]                                      ; +0x3c, 0x980424\nSTR             XZR, [X19,#0x160]                                      ; +0x40, 0x980428\nSTRB            WZR, [X19,#0x178]                                      ; +0x44, 0x98042c\nSTRB            WZR, [X19,#0x179]                                      ; +0x48, 0x980430\nBL              _ZN11GJBigSprite4initEv; GJBigSprite::init(void)       ; +0x4c, 0x980434\nUXTB            W0, W0                                                 ; +0x50, 0x980438\nCBZ             W0, loc_980458                                         ; +0x54, 0x98043c\nMOV             X0, X19; this                                          ; +0x58, 0x980440\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x5c, 0x980444\nMOV             X0, X19                                                ; +0x60, 0x980448\nLDP             X19, X20, [SP,#var_s10]                                ; +0x64, 0x98044c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x68, 0x980450\nRET                                                                    ; +0x6c, 0x980454\nLDR             X1, [X19]                                              ; +0x70, 0x980458\nMOV             X0, X19                                                ; +0x74, 0x98045c\nMOV             X19, #0                                                ; +0x78, 0x980460\nLDR             X1, [X1,#0x10]                                         ; +0x7c, 0x980464\nBLR             X1                                                     ; +0x80, 0x980468\nMOV             X0, X19                                                ; +0x84, 0x98046c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x88, 0x980470\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x8c, 0x980474\nRET                                                                    ; +0x90, 0x980478\nMOV             X20, X0                                                ; +0x94, 0x98047c\nMOV             X0, X19; p                                             ; +0x98, 0x980480\nBL              _ZdlPv; operator delete(void *)                        ; +0x9c, 0x980484\nMOV             X0, X20                                                ; +0xa0, 0x980488\nBL              _Unwind_Resume                                         ; +0xa4, 0x98048c", "xrefs": ["MapSelectLayer::init @ 0x9805d0", "<???> @ 0xac5a8"], "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"}