{"type": "func", "start": 4620428, "end": 4620684, "name": "AccountRegisterLayer::create", "pseudocode": "// \n// AccountRegisterLayer::create from 0x46808c to 0x46818c (256 bytes)\n// \n// 1 xrefs:\n// > AccountLayer::onRegister @ 0x4661d6\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\nAccountRegisterLayer *AccountRegisterLayer::create()\n{\n  AccountRegisterLayer *v0; // r4\n  AccountRegisterLayer_vtbl *v1; // r3\n  AccountRegisterLayer *v2; // r0\n\n  v0 = (AccountRegisterLayer *)operator new(0x22Cu);\n  cocos2d::CCLayerColor::CCLayerColor(v0);\n  v0->m_controlConnected = -1;\n  v0->m_joystickConnected = -1;\n  v0->m_buttonMenu = nullptr;\n  v0->m_alertProtocol = nullptr;\n  v0->m_scene = nullptr;\n  v0->m_reverseKeyBack = 0;\n  v0->m_mainLayer = nullptr;\n  v0->m_ZOrder = 0;\n  v0->m_noElasticity = 0;\n  v0->m_button1 = nullptr;\n  v0->m_button2 = nullptr;\n  v0->m_scrollingLayer = nullptr;\n  v0->m_containsBorder = 0;\n  v0->m_noAction = 0;\n  v0->m_forcePrioRegistered = 0;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (AccountRegisterLayer_vtbl *)&off_A68670;\n  v0->m_usernameField = nullptr;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A68924;\n  v0->m_passwordField = nullptr;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A6895C;\n  v0->m_confirmPasswordField = nullptr;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A68968;\n  v0->m_emailField = nullptr;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A68978;\n  v0->m_usernameLabel = nullptr;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A68988;\n  v0->m_passwordLabel = nullptr;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A6899C;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A689DC;\n  v0->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A689EC;\n  v0->GJAccountRegisterDelegate::__vftable = (GJAccountRegisterDelegate_vtbl *)&off_A68A10;\n  v0->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A68A20;\n  v0->m_confirmPasswordLabel = nullptr;\n  v0->m_emailLabel = nullptr;\n  v0->m_loadingCircle = nullptr;\n  v0->m_lockInput = 0;\n  if ( AccountRegisterLayer::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->~AccountRegisterLayer_0(v2);\n  }\n  return v0;\n}", "assembly": "; \n; AccountRegisterLayer::create from 0x46808c to 0x46818c (256 bytes)\n; \n; 1 xrefs:\n; > AccountLayer::onRegister @ 0x4661d6\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, 0x46808c\nMOV.W           R0, #0x22C; unsigned int                               ; +0x2, 0x46808e\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x468092\nMOV             R4, R0                                                 ; +0xa, 0x468096\nBL              _ZN7cocos2d12CCLayerColorC2Ev; cocos2d::CCLayerColor::CCLayerColor(void) ; +0xc, 0x468098\nMOV.W           R2, #0xFFFFFFFF                                        ; +0x10, 0x46809c\nSTR.W           R2, [R4,#0x1E0]                                        ; +0x14, 0x4680a0\nSTR.W           R2, [R4,#0x1E8]                                        ; +0x18, 0x4680a4\nMOVS            R3, #0                                                 ; +0x1c, 0x4680a8\nLDR             R2, =(_ZTV20AccountRegisterLayer_ptr - 0x4680B6)       ; +0x1e, 0x4680aa\nMOV             R0, R4; this                                           ; +0x20, 0x4680ac\nSTR.W           R3, [R4,#0x1B8]                                        ; +0x22, 0x4680ae\nADD             R2, PC; _ZTV20AccountRegisterLayer_ptr                 ; +0x26, 0x4680b2\nLDR             R2, [R2]; `vtable for'AccountRegisterLayer ...         ; +0x28, 0x4680b4\nSTR.W           R3, [R4,#0x1BC]                                        ; +0x2a, 0x4680b6\nADD.W           R1, R2, #8                                             ; +0x2e, 0x4680ba\nSTR.W           R3, [R4,#0x1C0]                                        ; +0x32, 0x4680be\nSTRB.W          R3, [R4,#0x1C4]                                        ; +0x36, 0x4680c2\nSTR.W           R3, [R4,#0x1C8]                                        ; +0x3a, 0x4680c6\nSTR.W           R3, [R4,#0x1CC]                                        ; +0x3e, 0x4680ca\nSTRB.W          R3, [R4,#0x1D0]                                        ; +0x42, 0x4680ce\nSTR.W           R3, [R4,#0x1D4]                                        ; +0x46, 0x4680d2\nSTR.W           R3, [R4,#0x1D8]                                        ; +0x4a, 0x4680d6\nSTR.W           R3, [R4,#0x1DC]                                        ; +0x4e, 0x4680da\nSTRB.W          R3, [R4,#0x1E4]                                        ; +0x52, 0x4680de\nSTRB.W          R3, [R4,#0x1E5]                                        ; +0x56, 0x4680e2\nSTRB.W          R3, [R4,#0x1EC]                                        ; +0x5a, 0x4680e6\nSTR             R1, [R4]                                               ; +0x5e, 0x4680ea\nADD.W           R1, R2, #0x2BC                                         ; +0x60, 0x4680ec\nSTR.W           R3, [R4,#0x1FC]                                        ; +0x64, 0x4680f0\nSTR.W           R1, [R4,#0x108]                                        ; +0x68, 0x4680f4\nADD.W           R1, R2, #0x2F4                                         ; +0x6c, 0x4680f8\nSTR.W           R3, [R4,#0x200]                                        ; +0x70, 0x4680fc\nSTR.W           R1, [R4,#0x10C]                                        ; +0x74, 0x468100\nADD.W           R1, R2, #0x300                                         ; +0x78, 0x468104\nSTR.W           R3, [R4,#0x204]                                        ; +0x7c, 0x468108\nSTR.W           R1, [R4,#0x110]                                        ; +0x80, 0x46810c\nADD.W           R1, R2, #0x310                                         ; +0x84, 0x468110\nSTR.W           R3, [R4,#0x208]                                        ; +0x88, 0x468114\nSTR.W           R1, [R4,#0x114]                                        ; +0x8c, 0x468118\nADD.W           R1, R2, #0x320                                         ; +0x90, 0x46811c\nSTR.W           R3, [R4,#0x210]                                        ; +0x94, 0x468120\nSTR.W           R1, [R4,#0x118]                                        ; +0x98, 0x468124\nADD.W           R1, R2, #0x334                                         ; +0x9c, 0x468128\nSTR.W           R3, [R4,#0x214]                                        ; +0xa0, 0x46812c\nSTR.W           R1, [R4,#0x13C]                                        ; +0xa4, 0x468130\nADD.W           R1, R2, #0x374                                         ; +0xa8, 0x468134\nSTR.W           R1, [R4,#0x14C]                                        ; +0xac, 0x468138\nADD.W           R1, R2, #0x384                                         ; +0xb0, 0x46813c\nSTR.W           R1, [R4,#0x1F0]                                        ; +0xb4, 0x468140\nADD.W           R1, R2, #0x3A8                                         ; +0xb8, 0x468144\nADD.W           R2, R2, #0x3B8                                         ; +0xbc, 0x468148\nSTR.W           R1, [R4,#0x1F4]                                        ; +0xc0, 0x46814c\nSTR.W           R2, [R4,#0x1F8]                                        ; +0xc4, 0x468150\nSTR.W           R3, [R4,#0x218]                                        ; +0xc8, 0x468154\nSTR.W           R3, [R4,#0x21C]                                        ; +0xcc, 0x468158\nSTR.W           R3, [R4,#0x224]                                        ; +0xd0, 0x46815c\nSTRB.W          R3, [R4,#0x228]                                        ; +0xd4, 0x468160\nBL              _ZN20AccountRegisterLayer4initEv; AccountRegisterLayer::init(void) ; +0xd8, 0x468164\nMOV             R5, R0                                                 ; +0xdc, 0x468168\nCBZ             R0, loc_46817E                                         ; +0xde, 0x46816a\nMOV             R0, R4; this                                           ; +0xe0, 0x46816c\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0xe2, 0x46816e\nB               loc_468188                                             ; +0xe6, 0x468172\nMOV             R0, R4; p                                              ; +0xe8, 0x468174\nBL              _ZdlPv; operator delete(void *)                        ; +0xea, 0x468176\nBL              __cxa_end_cleanup                                      ; +0xee, 0x46817a\nLDR             R3, [R4]                                               ; +0xf2, 0x46817e\nMOV             R0, R4                                                 ; +0xf4, 0x468180\nMOV             R4, R5                                                 ; +0xf6, 0x468182\nLDR             R3, [R3,#8]                                            ; +0xf8, 0x468184\nBLX             R3                                                     ; +0xfa, 0x468186\nMOV             R0, R4                                                 ; +0xfc, 0x468188\nPOP             {R3-R5,PC}                                             ; +0xfe, 0x46818a", "xrefs": ["AccountLayer::onRegister @ 0x4661d6"], "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"}