{"type": "func", "start": 4297937208, "end": 4297937412, "name": "GJAccountSettingsLayer::create", "pseudocode": "// \n// GJAccountSettingsLayer::create from 0x1002d5138 to 0x1002d5204 (204 bytes)\n// \n// 1 xrefs:\n// > ProfilePage::onSettings @ 0x10019b550\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 *__fastcall GJAccountSettingsLayer::create(int a1)\n{\n  GJAccountSettingsLayer *v2; // x19\n\n  v2 = (GJAccountSettingsLayer *)operator new(0x2C8u);\n  FLAlertLayer::FLAlertLayer(v2);\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJAccountSettingsLayer_vtbl *)off_1007D99D0;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1007D9F00;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1007D9F70;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1007D9F88;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1007D9FA8;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1007D9FC8;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1007D9FF0;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_1007DA070;\n  v2->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_1007DA090;\n  v2->m_links.__tree_.__pair1_.__value_.__left_ = nullptr;\n  v2->m_messageSettings = nullptr;\n  v2->m_links.__tree_.__pair3_.__value_ = 0;\n  *(_QWORD *)&v2->m_accountID = 0;\n  v2->m_inputs = nullptr;\n  *(_QWORD *)&v2->m_friendStatus = 0;\n  v2->m_links.__tree_.__begin_node_ = &v2->m_links.__tree_.__pair1_.__value_;\n  v2->m_commentSettings = nullptr;\n  v2->m_friendRequestSettings = nullptr;\n  if ( GJAccountSettingsLayer::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    ((void (__fastcall *)(GJAccountSettingsLayer *))v2->~GJAccountSettingsLayer_0)(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; GJAccountSettingsLayer::create from 0x1002d5138 to 0x1002d5204 (204 bytes)\n; \n; 1 xrefs:\n; > ProfilePage::onSettings @ 0x10019b550\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002d5138\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002d513c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002d5140\nMOV             X20, X0                                                ; +0xc, 0x1002d5144\nMOV             W0, #0x2C8; __sz                                       ; +0x10, 0x1002d5148\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1002d514c\nMOV             X19, X0                                                ; +0x18, 0x1002d5150\nBL              FLAlertLayer__FLAlertLayer                             ; +0x1c, 0x1002d5154\nADRL            X8, off_1007D99D0                                      ; +0x20, 0x1002d5158\nSTR             X8, [X19]                                              ; +0x28, 0x1002d5160\nADD             X9, X8, #(off_1007D9F00 - 0x1007D99D0)                 ; +0x2c, 0x1002d5164\nADD             X10, X8, #(off_1007D9F70 - 0x1007D99D0)                ; +0x30, 0x1002d5168\nSTP             X9, X10, [X19,#0x140]                                  ; +0x34, 0x1002d516c\nADD             X9, X8, #(off_1007D9F88 - 0x1007D99D0)                 ; +0x38, 0x1002d5170\nADD             X10, X8, #(off_1007D9FA8 - 0x1007D99D0)                ; +0x3c, 0x1002d5174\nSTP             X9, X10, [X19,#0x150]                                  ; +0x40, 0x1002d5178\nADD             X9, X8, #(off_1007D9FC8 - 0x1007D99D0)                 ; +0x44, 0x1002d517c\nSTR             X9, [X19,#0x160]                                       ; +0x48, 0x1002d5180\nADD             X9, X8, #(off_1007D9FF0 - 0x1007D99D0)                 ; +0x4c, 0x1002d5184\nSTR             X9, [X19,#0x198]                                       ; +0x50, 0x1002d5188\nADD             X9, X8, #(off_1007DA070 - 0x1007D99D0)                 ; +0x54, 0x1002d518c\nSTR             X9, [X19,#0x1B0]                                       ; +0x58, 0x1002d5190\nADD             X8, X8, #(off_1007DA090 - 0x1007D99D0)                 ; +0x5c, 0x1002d5194\nSTR             X8, [X19,#0x278]                                       ; +0x60, 0x1002d5198\nADD             X8, X19, #0x2A0                                        ; +0x64, 0x1002d519c\nSTR             XZR, [X19,#0x2A0]                                      ; +0x68, 0x1002d51a0\nSTR             XZR, [X19,#0x2B0]                                      ; +0x6c, 0x1002d51a4\nSTR             XZR, [X19,#0x2A8]                                      ; +0x70, 0x1002d51a8\nSTR             XZR, [X19,#0x280]                                      ; +0x74, 0x1002d51ac\nSTR             XZR, [X19,#0x290]                                      ; +0x78, 0x1002d51b0\nSTR             XZR, [X19,#0x288]                                      ; +0x7c, 0x1002d51b4\nSTR             X8, [X19,#0x298]                                       ; +0x80, 0x1002d51b8\nSTR             XZR, [X19,#0x2C0]                                      ; +0x84, 0x1002d51bc\nSTR             XZR, [X19,#0x2B8]                                      ; +0x88, 0x1002d51c0\nMOV             X0, X19                                                ; +0x8c, 0x1002d51c4\nMOV             X1, X20                                                ; +0x90, 0x1002d51c8\nBL              GJAccountSettingsLayer__init                           ; +0x94, 0x1002d51cc\nCBZ             W0, loc_1002D51E0                                      ; +0x98, 0x1002d51d0\nMOV             X0, X19                                                ; +0x9c, 0x1002d51d4\nBL              cocos2d__CCObject__autorelease                         ; +0xa0, 0x1002d51d8\nB               loc_1002D51F4                                          ; +0xa4, 0x1002d51dc\nLDR             X8, [X19]                                              ; +0xa8, 0x1002d51e0\nLDR             X8, [X8,#0x10]                                         ; +0xac, 0x1002d51e4\nMOV             X0, X19                                                ; +0xb0, 0x1002d51e8\nBLR             X8                                                     ; +0xb4, 0x1002d51ec\nMOV             X19, #0                                                ; +0xb8, 0x1002d51f0\nMOV             X0, X19                                                ; +0xbc, 0x1002d51f4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc0, 0x1002d51f8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xc4, 0x1002d51fc\nRET                                                                    ; +0xc8, 0x1002d5200", "xrefs": ["ProfilePage::onSettings @ 0x10019b550"], "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"}