{"type": "func", "start": 4941480, "end": 4941678, "name": "GJAccountSettingsLayer::create", "pseudocode": "// \n// GJAccountSettingsLayer::create from 0x4b66a8 to 0x4b676e (198 bytes)\n// \n// 1 xrefs:\n// > ProfilePage::onSettings @ 0x4c4eee\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\nGJAccountSettingsLayer *GJAccountSettingsLayer::create(int a1)\n{\n  GJAccountSettingsLayer *v2; // r4\n  GJAccountSettingsLayer_vtbl *v3; // r3\n  GJAccountSettingsLayer *v4; // r0\n\n  v2 = (GJAccountSettingsLayer *)operator new(0x22Cu);\n  FLAlertLayer::FLAlertLayer(v2);\n  v2->m_accountID = 0;\n  v2->m_messageStatus = 0;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJAccountSettingsLayer_vtbl *)&off_A6CBC0;\n  v2->m_friendStatus = 0;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A6CE58;\n  v2->m_commentHistoryStatus = 0;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A6CE90;\n  v2->m_inputs = nullptr;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A6CE9C;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A6CEAC;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A6CEBC;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A6CED0;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A6CF10;\n  v2->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A6CF20;\n  memset(&v2->m_links.m_header, 0, sizeof(v2->m_links.m_header));\n  v2->m_links.m_nodecount = 0;\n  v2->m_messageSettings = nullptr;\n  v2->m_friendRequestSettings = nullptr;\n  v2->m_commentSettings = nullptr;\n  v2->m_links.m_header.m_left = &v2->m_links.m_header;\n  v2->m_links.m_header.m_right = &v2->m_links.m_header;\n  if ( GJAccountSettingsLayer::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    v3 = v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v4 = v2;\n    v2 = nullptr;\n    v3->~GJAccountSettingsLayer_0(v4);\n  }\n  return v2;\n}", "assembly": "; \n; GJAccountSettingsLayer::create from 0x4b66a8 to 0x4b676e (198 bytes)\n; \n; 1 xrefs:\n; > ProfilePage::onSettings @ 0x4c4eee\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-R7,LR}                                             ; +0x0, 0x4b66a8\nMOV             R7, R0                                                 ; +0x2, 0x4b66aa\nMOV.W           R0, #0x22C; unsigned int                               ; +0x4, 0x4b66ac\nBL              _Znwj; operator new(uint)                              ; +0x8, 0x4b66b0\nMOV             R4, R0                                                 ; +0xc, 0x4b66b4\nBL              _ZN12FLAlertLayerC2Ev; FLAlertLayer::FLAlertLayer(void) ; +0xe, 0x4b66b6\nLDR             R3, =(_ZTV22GJAccountSettingsLayer_ptr - 0x4B66CA)     ; +0x12, 0x4b66ba\nADD.W           R6, R4, #0x20C                                         ; +0x14, 0x4b66bc\nMOVS            R5, #0                                                 ; +0x18, 0x4b66c0\nSTR.W           R5, [R4,#0x1F4]                                        ; +0x1a, 0x4b66c2\nADD             R3, PC; _ZTV22GJAccountSettingsLayer_ptr               ; +0x1e, 0x4b66c6\nLDR             R3, [R3]; `vtable for'GJAccountSettingsLayer ...       ; +0x20, 0x4b66c8\nMOV             R1, R5; int                                            ; +0x22, 0x4b66ca\nADD.W           R2, R3, #8                                             ; +0x24, 0x4b66cc\nSTR.W           R5, [R4,#0x1F8]                                        ; +0x28, 0x4b66d0\nSTR             R2, [R4]                                               ; +0x2c, 0x4b66d4\nMOV             R0, R6; void *                                         ; +0x2e, 0x4b66d6\nADD.W           R2, R3, #0x2A0                                         ; +0x30, 0x4b66d8\nSTR.W           R5, [R4,#0x1FC]                                        ; +0x34, 0x4b66dc\nSTR.W           R2, [R4,#0x108]                                        ; +0x38, 0x4b66e0\nADD.W           R2, R3, #0x2D8                                         ; +0x3c, 0x4b66e4\nSTR.W           R5, [R4,#0x200]                                        ; +0x40, 0x4b66e8\nSTR.W           R2, [R4,#0x10C]                                        ; +0x44, 0x4b66ec\nADD.W           R2, R3, #0x2E4                                         ; +0x48, 0x4b66f0\nSTR.W           R5, [R4,#0x204]                                        ; +0x4c, 0x4b66f4\nSTR.W           R2, [R4,#0x110]                                        ; +0x50, 0x4b66f8\nADD.W           R2, R3, #0x2F4                                         ; +0x54, 0x4b66fc\nSTR.W           R2, [R4,#0x114]                                        ; +0x58, 0x4b6700\nADD.W           R2, R3, #0x304                                         ; +0x5c, 0x4b6704\nSTR.W           R2, [R4,#0x118]                                        ; +0x60, 0x4b6708\nADD.W           R2, R3, #0x318                                         ; +0x64, 0x4b670c\nSTR.W           R2, [R4,#0x13C]                                        ; +0x68, 0x4b6710\nADD.W           R2, R3, #0x358                                         ; +0x6c, 0x4b6714\nADD.W           R3, R3, #0x368                                         ; +0x70, 0x4b6718\nSTR.W           R2, [R4,#0x14C]                                        ; +0x74, 0x4b671c\nSTR.W           R3, [R4,#0x1F0]                                        ; +0x78, 0x4b6720\nMOVS            R2, #0x10; size_t                                      ; +0x7c, 0x4b6724\nBLX             memset                                                 ; +0x7e, 0x4b6726\nSTR.W           R5, [R4,#0x21C]                                        ; +0x82, 0x4b672a\nSTR.W           R5, [R4,#0x220]                                        ; +0x86, 0x4b672e\nMOV             R0, R4; this                                           ; +0x8a, 0x4b6732\nSTR.W           R5, [R4,#0x224]                                        ; +0x8c, 0x4b6734\nMOV             R1, R7; int                                            ; +0x90, 0x4b6738\nSTR.W           R5, [R4,#0x228]                                        ; +0x92, 0x4b673a\nSTR.W           R6, [R4,#0x214]                                        ; +0x96, 0x4b673e\nSTR.W           R6, [R4,#0x218]                                        ; +0x9a, 0x4b6742\nBL              _ZN22GJAccountSettingsLayer4initEi; GJAccountSettingsLayer::init(int) ; +0x9e, 0x4b6746\nMOV             R5, R0                                                 ; +0xa2, 0x4b674a\nCBZ             R0, loc_4B6760                                         ; +0xa4, 0x4b674c\nMOV             R0, R4; this                                           ; +0xa6, 0x4b674e\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0xa8, 0x4b6750\nB               loc_4B676A                                             ; +0xac, 0x4b6754\nMOV             R0, R4; p                                              ; +0xae, 0x4b6756\nBL              _ZdlPv; operator delete(void *)                        ; +0xb0, 0x4b6758\nBL              __cxa_end_cleanup                                      ; +0xb4, 0x4b675c\nLDR             R3, [R4]                                               ; +0xb8, 0x4b6760\nMOV             R0, R4                                                 ; +0xba, 0x4b6762\nMOV             R4, R5                                                 ; +0xbc, 0x4b6764\nLDR             R3, [R3,#8]                                            ; +0xbe, 0x4b6766\nBLX             R3                                                     ; +0xc0, 0x4b6768\nMOV             R0, R4                                                 ; +0xc2, 0x4b676a\nPOP             {R3-R7,PC}                                             ; +0xc4, 0x4b676c", "xrefs": ["ProfilePage::onSettings @ 0x4c4eee"], "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"}