{"type": "func", "start": 5369224864, "end": 5369225235, "name": "AccountLayer::onRegister", "pseudocode": "// \n// AccountLayer::onRegister from 0x14007dea0 to 0x14007e013 (371 bytes)\n// \n// 2 xrefs:\n// > AccountLayer::customSetup @ 0x14007d984\n// > <???> @ 0x1406c68c4\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\n// Hidden C++ exception states: #wind=1\nvoid AccountLayer::onRegister(AccountLayer *a1, cocos2d::CCObject *a2)\n{\n  AccountRegisterLayer *v2; // rbx\n  void (*show)(FLAlertLayer *); // rdx\n\n  v2 = (AccountRegisterLayer *)operator new(0x2F0u);\n  FLAlertLayer::FLAlertLayer(v2);\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (AccountRegisterLayer_vtbl *)&AccountRegisterLayer::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&AccountRegisterLayer::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&AccountRegisterLayer::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&AccountRegisterLayer::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&AccountRegisterLayer::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&AccountRegisterLayer::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&AccountRegisterLayer::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&AccountRegisterLayer::`vftable';\n  v2->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&AccountRegisterLayer::`vftable';\n  v2->GJAccountRegisterDelegate::__vftable = (GJAccountRegisterDelegate_vtbl *)&AccountRegisterLayer::`vftable';\n  v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&AccountRegisterLayer::`vftable';\n  v2->m_usernameField = nullptr;\n  v2->m_passwordField = nullptr;\n  v2->m_confirmPasswordField = nullptr;\n  v2->m_emailField = nullptr;\n  v2->m_usernameLabel = nullptr;\n  v2->m_passwordLabel = nullptr;\n  v2->m_confirmPasswordLabel = nullptr;\n  v2->m_emailLabel = nullptr;\n  v2->m_loadingCircle = nullptr;\n  v2->m_lockInput = 0;\n  if ( AccountRegisterLayer::init(v2) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    ((void (__fastcall *)(AccountRegisterLayer *, __int64))v2->~AccountRegisterLayer)(v2, 1);\n    v2 = nullptr;\n  }\n  show = (void (*)(FLAlertLayer *))v2->show;\n  if ( show == FLAlertLayer::show )\n    FLAlertLayer::show(v2);\n  else\n    show(v2);\n}", "assembly": "; \n; AccountLayer::onRegister from 0x14007dea0 to 0x14007e013 (371 bytes)\n; \n; 2 xrefs:\n; > AccountLayer::customSetup @ 0x14007d984\n; > <???> @ 0x1406c68c4\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14007dea0\npush    rdi                                                            ; +0x5, 0x14007dea5\nsub     rsp, 20h                                                       ; +0x6, 0x14007dea6\nmov     ecx, 2F0h; Size                                                ; +0xa, 0x14007deaa\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xf, 0x14007deaf\nmov     rbx, rax                                                       ; +0x14, 0x14007deb4\nmov     [rsp+28h+arg_10], rax                                          ; +0x17, 0x14007deb7\nmov     rcx, rax                                                       ; +0x1c, 0x14007debc\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x1f, 0x14007debf\nlea     rax, ??_7AccountRegisterLayer@@6B@; const AccountRegisterLayer::`vftable' ; +0x24, 0x14007dec4\nmov     [rbx], rax                                                     ; +0x2b, 0x14007decb\nlea     rax, ??_7AccountRegisterLayer@@6B@_0; const AccountRegisterLayer::`vftable' ; +0x2e, 0x14007dece\nmov     [rbx+140h], rax                                                ; +0x35, 0x14007ded5\nlea     rax, ??_7AccountRegisterLayer@@6B@_1; const AccountRegisterLayer::`vftable' ; +0x3c, 0x14007dedc\nmov     [rbx+148h], rax                                                ; +0x43, 0x14007dee3\nlea     rax, ??_7AccountRegisterLayer@@6B@_2; const AccountRegisterLayer::`vftable' ; +0x4a, 0x14007deea\nmov     [rbx+150h], rax                                                ; +0x51, 0x14007def1\nlea     rax, ??_7AccountRegisterLayer@@6B@_3; const AccountRegisterLayer::`vftable' ; +0x58, 0x14007def8\nmov     [rbx+158h], rax                                                ; +0x5f, 0x14007deff\nlea     rax, ??_7AccountRegisterLayer@@6B@_4; const AccountRegisterLayer::`vftable' ; +0x66, 0x14007df06\nmov     [rbx+160h], rax                                                ; +0x6d, 0x14007df0d\nlea     rax, ??_7AccountRegisterLayer@@6B@_5; const AccountRegisterLayer::`vftable' ; +0x74, 0x14007df14\nmov     [rbx+198h], rax                                                ; +0x7b, 0x14007df1b\nlea     rax, ??_7AccountRegisterLayer@@6B@_6; const AccountRegisterLayer::`vftable' ; +0x82, 0x14007df22\nmov     [rbx+1B0h], rax                                                ; +0x89, 0x14007df29\nlea     rax, ??_7AccountRegisterLayer@@6B@_7; const AccountRegisterLayer::`vftable' ; +0x90, 0x14007df30\nmov     [rbx+278h], rax                                                ; +0x97, 0x14007df37\nlea     rax, ??_7AccountRegisterLayer@@6B@_8; const AccountRegisterLayer::`vftable' ; +0x9e, 0x14007df3e\nmov     [rbx+280h], rax                                                ; +0xa5, 0x14007df45\nlea     rax, ??_7AccountRegisterLayer@@6B@_9; const AccountRegisterLayer::`vftable' ; +0xac, 0x14007df4c\nmov     [rbx+288h], rax                                                ; +0xb3, 0x14007df53\nxor     edi, edi                                                       ; +0xba, 0x14007df5a\nmov     [rbx+290h], rdi                                                ; +0xbc, 0x14007df5c\nmov     [rbx+298h], rdi                                                ; +0xc3, 0x14007df63\nmov     [rbx+2A0h], rdi                                                ; +0xca, 0x14007df6a\nmov     [rbx+2A8h], rdi                                                ; +0xd1, 0x14007df71\nmov     [rbx+2B8h], rdi                                                ; +0xd8, 0x14007df78\nmov     [rbx+2C0h], rdi                                                ; +0xdf, 0x14007df7f\nmov     [rbx+2C8h], rdi                                                ; +0xe6, 0x14007df86\nmov     [rbx+2D0h], rdi                                                ; +0xed, 0x14007df8d\nmov     [rbx+2E0h], rdi                                                ; +0xf4, 0x14007df94\nmov     [rbx+2E8h], dil                                                ; +0xfb, 0x14007df9b\nmov     rax, cs:off_1405395F8                                          ; +0x102, 0x14007dfa2\nlea     rcx, AccountRegisterLayer__init                                ; +0x109, 0x14007dfa9\ncmp     rax, rcx                                                       ; +0x110, 0x14007dfb0\nmov     rcx, rbx                                                       ; +0x113, 0x14007dfb3\njnz     short loc_14007DFBF                                            ; +0x116, 0x14007dfb6\ncall    AccountRegisterLayer__init                                     ; +0x118, 0x14007dfb8\njmp     short loc_14007DFC1                                            ; +0x11d, 0x14007dfbd\ncall    rax ; AccountRegisterLayer__init                               ; +0x11f, 0x14007dfbf\nmov     rcx, rbx                                                       ; +0x121, 0x14007dfc1\ntest    al, al                                                         ; +0x124, 0x14007dfc4\njz      short loc_14007DFD0                                            ; +0x126, 0x14007dfc6\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x128, 0x14007dfc8\njmp     short loc_14007DFDE                                            ; +0x12e, 0x14007dfce\nmov     rax, [rbx]                                                     ; +0x130, 0x14007dfd0\nmov     edx, 1                                                         ; +0x133, 0x14007dfd3\ncall    qword ptr [rax+8]                                              ; +0x138, 0x14007dfd8\nmov     rbx, rdi                                                       ; +0x13b, 0x14007dfdb\nmov     rax, [rbx]                                                     ; +0x13e, 0x14007dfde\nmov     rdx, [rax+410h]                                                ; +0x141, 0x14007dfe1\nlea     rax, FLAlertLayer__show                                        ; +0x148, 0x14007dfe8\nmov     rcx, rbx                                                       ; +0x14f, 0x14007dfef\ncmp     rdx, rax                                                       ; +0x152, 0x14007dff2\njnz     short loc_14007E006                                            ; +0x155, 0x14007dff5\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x157, 0x14007dff7\nadd     rsp, 20h                                                       ; +0x15c, 0x14007dffc\npop     rdi                                                            ; +0x160, 0x14007e000\njmp     FLAlertLayer__show                                             ; +0x161, 0x14007e001\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x166, 0x14007e006\nadd     rsp, 20h                                                       ; +0x16b, 0x14007e00b\npop     rdi                                                            ; +0x16f, 0x14007e00f\njmp     rdx                                                            ; +0x170, 0x14007e010", "xrefs": ["AccountLayer::customSetup @ 0x14007d984", "<???> @ 0x1406c68c4"], "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"}