{"type": "func", "start": 5270520, "end": 5270728, "name": "CommunityCreditsPage::create", "pseudocode": "// \n// CommunityCreditsPage::create from 0x506bf8 to 0x506cc8 (208 bytes)\n// \n// 1 xrefs:\n// > GJShopLayer::onCommunityCredits @ 0x4e1868\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\nCommunityCreditsPage *CommunityCreditsPage::create()\n{\n  CommunityCreditsPage *v0; // r4\n  CommunityCreditsPage_vtbl *v1; // r3\n  CommunityCreditsPage *v2; // r0\n\n  v0 = (CommunityCreditsPage *)operator new(0x200u);\n  cocos2d::CCLayerColor::CCLayerColor(v0);\n  v0->m_buttonMenu = nullptr;\n  v0->m_alertProtocol = nullptr;\n  v0->m_scene = nullptr;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CommunityCreditsPage_vtbl *)&off_A81DA0;\n  v0->m_reverseKeyBack = 0;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A82030;\n  v0->m_mainLayer = nullptr;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A82068;\n  v0->m_ZOrder = 0;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A82074;\n  v0->m_noElasticity = 0;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A82084;\n  v0->m_button1 = nullptr;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A82094;\n  v0->m_button2 = nullptr;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A820A8;\n  v0->m_scrollingLayer = nullptr;\n  v0->m_controlConnected = -1;\n  v0->m_containsBorder = 0;\n  v0->m_noAction = 0;\n  v0->m_joystickConnected = -1;\n  v0->m_forcePrioRegistered = 0;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A820E8;\n  v0->m_pageObjects = nullptr;\n  v0->m_prevButton = nullptr;\n  v0->m_nextButton = nullptr;\n  v0->m_page = -1;\n  if ( CommunityCreditsPage::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    v1 = v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v2 = v0;\n    v0 = nullptr;\n    v1->~CommunityCreditsPage_0(v2);\n  }\n  return v0;\n}", "assembly": "; \n; CommunityCreditsPage::create from 0x506bf8 to 0x506cc8 (208 bytes)\n; \n; 1 xrefs:\n; > GJShopLayer::onCommunityCredits @ 0x4e1868\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, 0x506bf8\nMOV.W           R0, #0x200; unsigned int                               ; +0x2, 0x506bfa\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x506bfe\nMOV             R4, R0                                                 ; +0xa, 0x506c02\nBL              _ZN7cocos2d12CCLayerColorC2Ev; cocos2d::CCLayerColor::CCLayerColor(void) ; +0xc, 0x506c04\nLDR             R2, =(_ZTV20CommunityCreditsPage_ptr - 0x506C18)       ; +0x10, 0x506c08\nMOVS            R3, #0                                                 ; +0x12, 0x506c0a\nMOV.W           R1, #0xFFFFFFFF                                        ; +0x14, 0x506c0c\nSTR.W           R3, [R4,#0x1B8]                                        ; +0x18, 0x506c10\nADD             R2, PC; _ZTV20CommunityCreditsPage_ptr                 ; +0x1c, 0x506c14\nLDR             R2, [R2]; `vtable for'CommunityCreditsPage ...         ; +0x1e, 0x506c16\nSTR.W           R3, [R4,#0x1BC]                                        ; +0x20, 0x506c18\nADD.W           R0, R2, #8                                             ; +0x24, 0x506c1c\nSTR.W           R3, [R4,#0x1C0]                                        ; +0x28, 0x506c20\nSTR             R0, [R4]                                               ; +0x2c, 0x506c24\nADD.W           R0, R2, #0x298                                         ; +0x2e, 0x506c26\nSTRB.W          R3, [R4,#0x1C4]                                        ; +0x32, 0x506c2a\nSTR.W           R0, [R4,#0x108]                                        ; +0x36, 0x506c2e\nADD.W           R0, R2, #0x2D0                                         ; +0x3a, 0x506c32\nSTR.W           R3, [R4,#0x1C8]                                        ; +0x3e, 0x506c36\nSTR.W           R0, [R4,#0x10C]                                        ; +0x42, 0x506c3a\nADD.W           R0, R2, #0x2DC                                         ; +0x46, 0x506c3e\nSTR.W           R3, [R4,#0x1CC]                                        ; +0x4a, 0x506c42\nSTR.W           R0, [R4,#0x110]                                        ; +0x4e, 0x506c46\nADD.W           R0, R2, #0x2EC                                         ; +0x52, 0x506c4a\nSTRB.W          R3, [R4,#0x1D0]                                        ; +0x56, 0x506c4e\nSTR.W           R0, [R4,#0x114]                                        ; +0x5a, 0x506c52\nADD.W           R0, R2, #0x2FC                                         ; +0x5e, 0x506c56\nSTR.W           R3, [R4,#0x1D4]                                        ; +0x62, 0x506c5a\nSTR.W           R0, [R4,#0x118]                                        ; +0x66, 0x506c5e\nADD.W           R0, R2, #0x310                                         ; +0x6a, 0x506c62\nSTR.W           R3, [R4,#0x1D8]                                        ; +0x6e, 0x506c66\nADD.W           R2, R2, #0x350                                         ; +0x72, 0x506c6a\nSTR.W           R0, [R4,#0x13C]                                        ; +0x76, 0x506c6e\nMOV             R0, R4; this                                           ; +0x7a, 0x506c72\nSTR.W           R3, [R4,#0x1DC]                                        ; +0x7c, 0x506c74\nSTR.W           R1, [R4,#0x1E0]                                        ; +0x80, 0x506c78\nSTRB.W          R3, [R4,#0x1E4]                                        ; +0x84, 0x506c7c\nSTRB.W          R3, [R4,#0x1E5]                                        ; +0x88, 0x506c80\nSTR.W           R1, [R4,#0x1E8]                                        ; +0x8c, 0x506c84\nSTRB.W          R3, [R4,#0x1EC]                                        ; +0x90, 0x506c88\nSTR.W           R2, [R4,#0x14C]                                        ; +0x94, 0x506c8c\nSTR.W           R3, [R4,#0x1F0]                                        ; +0x98, 0x506c90\nSTR.W           R3, [R4,#0x1F4]                                        ; +0x9c, 0x506c94\nSTR.W           R3, [R4,#0x1F8]                                        ; +0xa0, 0x506c98\nSTR.W           R1, [R4,#0x1FC]                                        ; +0xa4, 0x506c9c\nBL              _ZN20CommunityCreditsPage4initEv; CommunityCreditsPage::init(void) ; +0xa8, 0x506ca0\nMOV             R5, R0                                                 ; +0xac, 0x506ca4\nCBZ             R0, loc_506CBA                                         ; +0xae, 0x506ca6\nMOV             R0, R4; this                                           ; +0xb0, 0x506ca8\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0xb2, 0x506caa\nB               loc_506CC4                                             ; +0xb6, 0x506cae\nMOV             R0, R4; p                                              ; +0xb8, 0x506cb0\nBL              _ZdlPv; operator delete(void *)                        ; +0xba, 0x506cb2\nBL              __cxa_end_cleanup                                      ; +0xbe, 0x506cb6\nLDR             R3, [R4]                                               ; +0xc2, 0x506cba\nMOV             R0, R4                                                 ; +0xc4, 0x506cbc\nMOV             R4, R5                                                 ; +0xc6, 0x506cbe\nLDR             R3, [R3,#8]                                            ; +0xc8, 0x506cc0\nBLX             R3                                                     ; +0xca, 0x506cc2\nMOV             R0, R4                                                 ; +0xcc, 0x506cc4\nPOP             {R3-R5,PC}                                             ; +0xce, 0x506cc6", "xrefs": ["GJShopLayer::onCommunityCredits @ 0x4e1868"], "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"}