{"type": "func", "start": 5369222928, "end": 5369224795, "name": "AccountLayer::customSetup", "pseudocode": "// \n// AccountLayer::customSetup from 0x14007d710 to 0x14007de5b (1867 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14053b6e0\n// > <???> @ 0x1406c68ac\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=2\nvoid AccountLayer::customSetup(AccountLayer *a1)\n{\n  char v2; // si\n  cocos2d::CCDirector *v3; // rax\n  cocos2d::CCLabelBMFont *v4; // rax\n  cocos2d::CCLabelBMFont_vtbl *v5; // rbx\n  const cocos2d::CCPoint *v6; // rax\n  const struct cocos2d::CCPoint *v7; // rax\n  char *v8; // rax\n  const cocos2d::CCPoint *v9; // rax\n  ButtonSprite *v10; // rax\n  CCMenuItemSpriteExtra *v11; // rax\n  ButtonSprite *v12; // rax\n  CCMenuItemSpriteExtra *v13; // rax\n  ButtonSprite *v14; // rax\n  cocos2d::CCNode *v15; // rbx\n  CCMenuItemSpriteExtra *v16; // rax\n  ButtonSprite *v17; // rax\n  CCMenuItemSpriteExtra *v18; // rax\n  ButtonSprite *v19; // rax\n  CCMenuItemSpriteExtra *v20; // rax\n  ButtonSprite *v21; // rax\n  CCMenuItemSpriteExtra *v22; // rax\n  GJAccountManager *v23; // rax\n  GJAccountManager *v24; // rax\n  bool v25; // al\n  LoadingCircle *v26; // rax\n  cocos2d::CCSprite *m_sprite; // rbx\n  cocos2d::CCSprite_vtbl *v28; // rdi\n  const cocos2d::CCPoint *v29; // rax\n  __int128 *v30; // [rsp+58h] [rbp-39h] BYREF\n  ButtonSprite *v31; // [rsp+60h] [rbp-31h] BYREF\n  struct cocos2d::CCPoint v32; // [rsp+68h] [rbp-29h] BYREF\n  float v33; // [rsp+70h] [rbp-21h]\n  float v34; // [rsp+74h] [rbp-1Dh]\n  __int128 v35; // [rsp+78h] [rbp-19h] BYREF\n  __int64 v36; // [rsp+88h] [rbp-9h]\n  __int64 v37; // [rsp+90h] [rbp-1h]\n\n  v2 = 0;\n  v32.x = 0.0;\n  v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(a1);\n  cocos2d::CCDirector::getWinSize(v3);\n  v4 = cocos2d::CCLabelBMFont::create(byte_140518980, \"goldFont.fnt\");\n  a1->m_linkedAccountTitle = v4;\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *))v4->setScale_0)(v4);\n  a1->m_mainLayer->addChild_1(a1->m_mainLayer, a1->m_linkedAccountTitle);\n  v5 = a1->m_linkedAccountTitle->__vftable;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v30, v33 * 0.5, (float)(v34 * 0.5) + 87.0);\n  v5->setPosition_0(a1->m_linkedAccountTitle, v6);\n  v30 = &v35;\n  v35 = 0;\n  v36 = 1;\n  v37 = 15;\n  LOWORD(v35) = (unsigned __int8)asc_140518984[0];\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v31, 0.5, 1.0);\n  v8 = TextArea::create((__int64)&v35, &qword_14052A4D8, 1.0, 1000.0, v7, 1108082688, 0);\n  a1->m_textArea = (TextArea *)v8;\n  (*(void (__fastcall **)(char *))(*(_QWORD *)v8 + 160LL))(v8);\n  a1->m_mainLayer->addChild_1(a1->m_mainLayer, a1->m_textArea);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v31, 0.0, -17.0);\n  v9 = a1->m_linkedAccountTitle->getPosition_0(a1->m_linkedAccountTitle);\n  cocos2d::CCPoint::operator+(v9, &v30);\n  a1->m_textArea->setPosition_0(a1->m_textArea, (const cocos2d::CCPoint *)&v30);\n  v10 = ButtonSprite::create_1(\"Log in\", 160, 0, 1.0, 1, \"goldFont.fnt\", \"GJ_button_01.png\", 0.0);\n  v11 = CCMenuItemSpriteExtra::create(v10, nullptr, a1, (cocos2d::SEL_MenuHandler *)AccountLayer::onLogin);\n  a1->m_loginButton = v11;\n  a1->m_buttonMenu->addChild_1(a1->m_buttonMenu, v11);\n  v12 = ButtonSprite::create_1(\"Register\", 160, 0, 1.0, 1, \"goldFont.fnt\", \"GJ_button_01.png\", 0.0);\n  v13 = CCMenuItemSpriteExtra::create(v12, nullptr, a1, (cocos2d::SEL_MenuHandler *)AccountLayer::onRegister);\n  a1->m_registerButton = v13;\n  a1->m_buttonMenu->addChild_1(a1->m_buttonMenu, v13);\n  v31 = (ButtonSprite *)operator new(0x2C0u);\n  v14 = ButtonSprite::ButtonSprite(v31);\n  v15 = v14;\n  if ( v14 )\n  {\n    if ( ButtonSprite::init_1(v14, \"Save\", 160, 0, 1.0, 1, \"goldFont.fnt\", \"GJ_button_01.png\", 0.0) )\n    {\n      cocos2d::CCObject::autorelease(v15);\n    }\n    else\n    {\n      ((void (__fastcall *)(cocos2d::CCNode *, __int64))v15->~CCNode)(v15, 1);\n      v15 = nullptr;\n    }\n  }\n  v16 = CCMenuItemSpriteExtra::create(v15, nullptr, a1, (cocos2d::SEL_MenuHandler *)AccountLayer::onBackup);\n  a1->m_backupButton = v16;\n  a1->m_buttonMenu->addChild_1(a1->m_buttonMenu, v16);\n  v17 = ButtonSprite::create_1(\"Load\", 160, 0, 1.0, 1, \"goldFont.fnt\", \"GJ_button_01.png\", 0.0);\n  v18 = CCMenuItemSpriteExtra::create(v17, nullptr, a1, (cocos2d::SEL_MenuHandler *)AccountLayer::onSync);\n  a1->m_syncButton = v18;\n  a1->m_buttonMenu->addChild_1(a1->m_buttonMenu, v18);\n  v19 = ButtonSprite::create_1(\"Help\", 160, 0, 1.0, 1, \"goldFont.fnt\", \"GJ_button_01.png\", 0.0);\n  v20 = CCMenuItemSpriteExtra::create(v19, nullptr, a1, (cocos2d::SEL_MenuHandler *)AccountLayer::onHelp);\n  a1->m_helpButton = v20;\n  a1->m_buttonMenu->addChild_1(a1->m_buttonMenu, v20);\n  v21 = ButtonSprite::create_1(\"More\", 160, 0, 1.0, 1, \"goldFont.fnt\", \"GJ_button_01.png\", 0.0);\n  v22 = CCMenuItemSpriteExtra::create(v21, nullptr, a1, (cocos2d::SEL_MenuHandler *)AccountLayer::onMore);\n  a1->m_moreButton = v22;\n  a1->m_buttonMenu->addChild_1(a1->m_buttonMenu, v22);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v31, v33 * 0.5, (float)(v34 * 0.5) + 30.0);\n  cocos2d::CCNode::convertToWorldSpace(a1->m_mainLayer, (const struct cocos2d::CCPoint *)&v30);\n  cocos2d::CCNode::convertToNodeSpace(a1->m_buttonMenu, &v32);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v31, 0.0, 0.0);\n  cocos2d::CCPoint::operator+(&v32, &v30);\n  a1->m_loginButton->setPosition_0(a1->m_loginButton, (const cocos2d::CCPoint *)&v30);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v31, 0.0, -90.0);\n  cocos2d::CCPoint::operator+(&v32, &v30);\n  a1->m_registerButton->setPosition_0(a1->m_registerButton, (const cocos2d::CCPoint *)&v30);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v31, 0.0, 0.0);\n  cocos2d::CCPoint::operator+(&v32, &v30);\n  a1->m_backupButton->setPosition_0(a1->m_backupButton, (const cocos2d::CCPoint *)&v30);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v31, 0.0, -45.0);\n  cocos2d::CCPoint::operator+(&v32, &v30);\n  a1->m_syncButton->setPosition_0(a1->m_syncButton, (const cocos2d::CCPoint *)&v30);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v31, 0.0, -45.0);\n  cocos2d::CCPoint::operator+(&v32, &v30);\n  a1->m_helpButton->setPosition_0(a1->m_helpButton, (const cocos2d::CCPoint *)&v30);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v31, 0.0, -90.0);\n  cocos2d::CCPoint::operator+(&v32, &v30);\n  a1->m_moreButton->setPosition_0(a1->m_moreButton, (const cocos2d::CCPoint *)&v30);\n  v23 = GJAccountManager::sharedState();\n  v25 = false;\n  if ( v23->m_accountID != v23->m_unkInt1 )\n  {\n    v24 = GJAccountManager::sharedState();\n    sub_14003BDB0((__int64)&v35, (__int64)&v24->m_GJP2);\n    v2 = 3;\n    if ( v36 )\n      v25 = true;\n  }\n  a1->m_isLoggedIn = v25;\n  if ( (v2 & 1) != 0 )\n    sub_14003A830((__int64)&v35);\n  AccountLayer::updatePage(a1, 0);\n  GJAccountManager::sharedState()->m_accountDelegate = &a1->GJAccountDelegate;\n  GJAccountManager::sharedState()->m_backupDelegate = &a1->GJAccountBackupDelegate;\n  GJAccountManager::sharedState()->m_syncDelegate = &a1->GJAccountSyncDelegate;\n  v26 = LoadingCircle::create();\n  a1->m_loadingCircle = v26;\n  v26->m_parentLayer = a1->m_mainLayer;\n  a1->m_loadingCircle->m_fade = 1;\n  cocos2d::CCObject::retain(a1->m_loadingCircle);\n  LoadingCircle::show(a1->m_loadingCircle);\n  a1->m_loadingCircle->setVisible(a1->m_loadingCircle, 0);\n  m_sprite = a1->m_loadingCircle->m_sprite;\n  v28 = m_sprite->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v31, v33 * 0.5, v34 * 0.5);\n  v28->setPosition_0(m_sprite, v29);\n}", "assembly": "; \n; AccountLayer::customSetup from 0x14007d710 to 0x14007de5b (1867 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14053b6e0\n; > <???> @ 0x1406c68ac\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     rax, rsp                                                       ; +0x0, 0x14007d710\nmov     [rax+10h], rbx                                                 ; +0x3, 0x14007d713\nmov     [rax+18h], rsi                                                 ; +0x7, 0x14007d717\nmov     [rax+20h], rdi                                                 ; +0xb, 0x14007d71b\npush    rbp                                                            ; +0xf, 0x14007d71f\npush    r14                                                            ; +0x10, 0x14007d720\npush    r15                                                            ; +0x12, 0x14007d722\nlea     rbp, [rax-5Fh]                                                 ; +0x14, 0x14007d724\nsub     rsp, 0D0h                                                      ; +0x18, 0x14007d728\nmovaps  xmmword ptr [rax-28h], xmm6                                    ; +0x1f, 0x14007d72f\nmovaps  xmmword ptr [rax-38h], xmm8                                    ; +0x23, 0x14007d733\nmovaps  xmmword ptr [rax-48h], xmm9                                    ; +0x28, 0x14007d738\nmov     rax, cs:__security_cookie                                      ; +0x2d, 0x14007d73d\nxor     rax, rsp                                                       ; +0x34, 0x14007d744\nmov     [rbp+57h+var_50], rax                                          ; +0x37, 0x14007d747\nmov     rdi, rcx                                                       ; +0x3b, 0x14007d74b\nxor     esi, esi                                                       ; +0x3e, 0x14007d74e\nmov     dword ptr [rbp+57h+var_80], esi                                ; +0x40, 0x14007d750\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x43, 0x14007d753\nmov     rcx, rax                                                       ; +0x49, 0x14007d759\nlea     rdx, [rbp+57h+var_78]                                          ; +0x4c, 0x14007d75c\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x50, 0x14007d760\nlea     r14, aGoldfontFnt; \"goldFont.fnt\"                              ; +0x56, 0x14007d766\nmov     rdx, r14                                                       ; +0x5d, 0x14007d76d\nlea     rcx, byte_140518980                                            ; +0x60, 0x14007d770\ncall    cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0x67, 0x14007d777\nmov     [rdi+280h], rax                                                ; +0x6d, 0x14007d77d\nmov     rdx, [rax]                                                     ; +0x74, 0x14007d784\nmovss   xmm1, cs:dword_140622BA4                                       ; +0x77, 0x14007d787\nmov     rcx, rax                                                       ; +0x7f, 0x14007d78f\ncall    qword ptr [rdx+0A0h]                                           ; +0x82, 0x14007d792\nmov     rcx, [rdi+240h]                                                ; +0x88, 0x14007d798\nmov     rax, [rcx]                                                     ; +0x8f, 0x14007d79f\nmov     rdx, [rdi+280h]                                                ; +0x92, 0x14007d7a2\ncall    qword ptr [rax+1C0h]                                           ; +0x99, 0x14007d7a9\nmov     rax, [rdi+280h]                                                ; +0x9f, 0x14007d7af\nmov     rbx, [rax]                                                     ; +0xa6, 0x14007d7b6\nmovss   xmm2, [rbp+57h+var_74]                                         ; +0xa9, 0x14007d7b9\nmovss   xmm8, cs:dword_140622B08                                       ; +0xae, 0x14007d7be\nmulss   xmm2, xmm8                                                     ; +0xb7, 0x14007d7c7\naddss   xmm2, cs:dword_14062328C                                       ; +0xbc, 0x14007d7cc\nmovss   xmm1, [rbp+57h+var_78]                                         ; +0xc4, 0x14007d7d4\nmulss   xmm1, xmm8                                                     ; +0xc9, 0x14007d7d9\nlea     rcx, [rbp+57h+var_90]                                          ; +0xce, 0x14007d7de\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xd2, 0x14007d7e2\nmov     rdx, rax                                                       ; +0xd8, 0x14007d7e8\nmov     rcx, [rdi+280h]                                                ; +0xdb, 0x14007d7eb\ncall    qword ptr [rbx+0B8h]                                           ; +0xe2, 0x14007d7f2\nlea     rax, [rbp+57h+var_70]                                          ; +0xe8, 0x14007d7f8\nmov     [rbp+57h+var_90], rax                                          ; +0xec, 0x14007d7fc\nxorps   xmm0, xmm0                                                     ; +0xf0, 0x14007d800\nmovups  [rbp+57h+var_70], xmm0                                         ; +0xf3, 0x14007d803\nmov     [rbp+57h+var_60], 1                                            ; +0xf7, 0x14007d807\nmov     [rbp+57h+var_58], 0Fh                                          ; +0xff, 0x14007d80f\nmovzx   eax, word ptr cs:asc_140518984; \" \"                            ; +0x107, 0x14007d817\nmov     byte ptr [rbp+57h+var_70], al                                  ; +0x10e, 0x14007d81e\nmov     byte ptr [rbp+57h+var_70+1], sil                               ; +0x111, 0x14007d821\nmovss   xmm6, cs:flt_140622C24                                         ; +0x115, 0x14007d825\nmovaps  xmm2, xmm6                                                     ; +0x11d, 0x14007d82d\nmovaps  xmm1, xmm8                                                     ; +0x120, 0x14007d830\nlea     rcx, [rbp+57h+var_88]                                          ; +0x124, 0x14007d834\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x128, 0x14007d838\nnop                                                                    ; +0x12e, 0x14007d83e\nmov     byte ptr [rsp+0E0h+var_B0], sil                                ; +0x12f, 0x14007d83f\nmovss   xmm0, cs:dword_140623198                                       ; +0x134, 0x14007d844\nmovss   dword ptr [rsp+0E0h+var_B8], xmm0                              ; +0x13c, 0x14007d84c\nmov     [rsp+0E0h+var_C0], rax                                         ; +0x142, 0x14007d852\nmovss   xmm3, cs:dword_14062350C                                       ; +0x147, 0x14007d857\nmovaps  xmm2, xmm6                                                     ; +0x14f, 0x14007d85f\nlea     rdx, qword_14052A4D8                                           ; +0x152, 0x14007d862\nlea     rcx, [rbp+57h+var_70]                                          ; +0x159, 0x14007d869\ncall    TextArea__create                                               ; +0x15d, 0x14007d86d\nmov     [rdi+288h], rax                                                ; +0x162, 0x14007d872\nmov     rdx, [rax]                                                     ; +0x169, 0x14007d879\nmovss   xmm1, cs:dword_140622AD0                                       ; +0x16c, 0x14007d87c\nmov     rcx, rax                                                       ; +0x174, 0x14007d884\ncall    qword ptr [rdx+0A0h]                                           ; +0x177, 0x14007d887\nmov     rcx, [rdi+240h]                                                ; +0x17d, 0x14007d88d\nmov     rax, [rcx]                                                     ; +0x184, 0x14007d894\nmov     rdx, [rdi+288h]                                                ; +0x187, 0x14007d897\ncall    qword ptr [rax+1C0h]                                           ; +0x18e, 0x14007d89e\nmovss   xmm2, cs:dword_14062388C                                       ; +0x194, 0x14007d8a4\nxorps   xmm9, xmm9                                                     ; +0x19c, 0x14007d8ac\nxorps   xmm1, xmm1                                                     ; +0x1a0, 0x14007d8b0\nlea     rcx, [rbp+57h+var_88]                                          ; +0x1a3, 0x14007d8b3\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1a7, 0x14007d8b7\nmov     rbx, rax                                                       ; +0x1ad, 0x14007d8bd\nmov     rcx, [rdi+280h]                                                ; +0x1b0, 0x14007d8c0\nmov     rdx, [rcx]                                                     ; +0x1b7, 0x14007d8c7\ncall    qword ptr [rdx+0C8h]                                           ; +0x1ba, 0x14007d8ca\nmov     r8, rbx                                                        ; +0x1c0, 0x14007d8d0\nlea     rdx, [rbp+57h+var_90]                                          ; +0x1c3, 0x14007d8d3\nmov     rcx, rax                                                       ; +0x1c7, 0x14007d8d7\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x1ca, 0x14007d8da\nmov     rcx, [rdi+288h]                                                ; +0x1d0, 0x14007d8e0\nmov     rax, [rcx]                                                     ; +0x1d7, 0x14007d8e7\nlea     rdx, [rbp+57h+var_90]                                          ; +0x1da, 0x14007d8ea\ncall    qword ptr [rax+0B8h]                                           ; +0x1de, 0x14007d8ee\nmovss   [rsp+0E0h+var_A8], xmm9                                        ; +0x1e4, 0x14007d8f4\nlea     r15, aGjButton01Png; \"GJ_button_01.png\"                        ; +0x1eb, 0x14007d8fb\nmov     [rsp+0E0h+var_B0], r15                                         ; +0x1f2, 0x14007d902\nmov     [rsp+0E0h+var_B8], r14                                         ; +0x1f7, 0x14007d907\nmov     byte ptr [rsp+0E0h+var_C0], 1                                  ; +0x1fc, 0x14007d90c\nmovaps  xmm3, xmm6                                                     ; +0x201, 0x14007d911\nxor     r8d, r8d                                                       ; +0x204, 0x14007d914\nmov     edx, 0A0h                                                      ; +0x207, 0x14007d917\nlea     rcx, aLogIn; \"Log in\"                                          ; +0x20c, 0x14007d91c\ncall    ButtonSprite__create_1                                         ; +0x213, 0x14007d923\nlea     r9, AccountLayer__onLogin                                      ; +0x218, 0x14007d928\nmov     r8, rdi                                                        ; +0x21f, 0x14007d92f\nxor     edx, edx                                                       ; +0x222, 0x14007d932\nmov     rcx, rax                                                       ; +0x224, 0x14007d934\ncall    CCMenuItemSpriteExtra__create                                  ; +0x227, 0x14007d937\nmov     [rdi+290h], rax                                                ; +0x22c, 0x14007d93c\nmov     rcx, [rdi+230h]                                                ; +0x233, 0x14007d943\nmov     r8, [rcx]                                                      ; +0x23a, 0x14007d94a\nmov     rdx, rax                                                       ; +0x23d, 0x14007d94d\ncall    qword ptr [r8+1C0h]                                            ; +0x240, 0x14007d950\nmovss   [rsp+0E0h+var_A8], xmm9                                        ; +0x247, 0x14007d957\nmov     [rsp+0E0h+var_B0], r15                                         ; +0x24e, 0x14007d95e\nmov     [rsp+0E0h+var_B8], r14                                         ; +0x253, 0x14007d963\nmov     byte ptr [rsp+0E0h+var_C0], 1                                  ; +0x258, 0x14007d968\nmovaps  xmm3, xmm6                                                     ; +0x25d, 0x14007d96d\nxor     r8d, r8d                                                       ; +0x260, 0x14007d970\nmov     edx, 0A0h                                                      ; +0x263, 0x14007d973\nlea     rcx, aRegister; \"Register\"                                     ; +0x268, 0x14007d978\ncall    ButtonSprite__create_1                                         ; +0x26f, 0x14007d97f\nlea     r9, AccountLayer__onRegister                                   ; +0x274, 0x14007d984\nmov     r8, rdi                                                        ; +0x27b, 0x14007d98b\nxor     edx, edx                                                       ; +0x27e, 0x14007d98e\nmov     rcx, rax                                                       ; +0x280, 0x14007d990\ncall    CCMenuItemSpriteExtra__create                                  ; +0x283, 0x14007d993\nmov     [rdi+298h], rax                                                ; +0x288, 0x14007d998\nmov     rcx, [rdi+230h]                                                ; +0x28f, 0x14007d99f\nmov     r8, [rcx]                                                      ; +0x296, 0x14007d9a6\nmov     rdx, rax                                                       ; +0x299, 0x14007d9a9\ncall    qword ptr [r8+1C0h]                                            ; +0x29c, 0x14007d9ac\nmov     ecx, 2C0h; Size                                                ; +0x2a3, 0x14007d9b3\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2a8, 0x14007d9b8\nmov     [rbp+57h+var_88], rax                                          ; +0x2ad, 0x14007d9bd\nmov     rcx, rax                                                       ; +0x2b1, 0x14007d9c1\ncall    ButtonSprite__ButtonSprite                                     ; +0x2b4, 0x14007d9c4\nmov     rbx, rax                                                       ; +0x2b9, 0x14007d9c9\ntest    rax, rax                                                       ; +0x2bc, 0x14007d9cc\njz      short loc_14007DA22                                            ; +0x2bf, 0x14007d9cf\nmovss   [rsp+0E0h+var_A0], xmm9                                        ; +0x2c1, 0x14007d9d1\nmov     qword ptr [rsp+0E0h+var_A8], r15                               ; +0x2c8, 0x14007d9d8\nmov     [rsp+0E0h+var_B0], r14                                         ; +0x2cd, 0x14007d9dd\nmov     byte ptr [rsp+0E0h+var_B8], 1                                  ; +0x2d2, 0x14007d9e2\nmovss   dword ptr [rsp+0E0h+var_C0], xmm6                              ; +0x2d7, 0x14007d9e7\nxor     r9d, r9d                                                       ; +0x2dd, 0x14007d9ed\nmov     r8d, 0A0h                                                      ; +0x2e0, 0x14007d9f0\nlea     rdx, aSave; \"Save\"                                             ; +0x2e6, 0x14007d9f6\nmov     rcx, rax                                                       ; +0x2ed, 0x14007d9fd\ncall    ButtonSprite__init_1                                           ; +0x2f0, 0x14007da00\nmov     rcx, rbx                                                       ; +0x2f5, 0x14007da05\ntest    al, al                                                         ; +0x2f8, 0x14007da08\njz      short loc_14007DA14                                            ; +0x2fa, 0x14007da0a\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x2fc, 0x14007da0c\njmp     short loc_14007DA22                                            ; +0x302, 0x14007da12\nmov     rax, [rbx]                                                     ; +0x304, 0x14007da14\nmov     edx, 1                                                         ; +0x307, 0x14007da17\ncall    qword ptr [rax+8]                                              ; +0x30c, 0x14007da1c\nmov     rbx, rsi                                                       ; +0x30f, 0x14007da1f\nlea     r9, AccountLayer__onBackup                                     ; +0x312, 0x14007da22\nmov     r8, rdi                                                        ; +0x319, 0x14007da29\nxor     edx, edx                                                       ; +0x31c, 0x14007da2c\nmov     rcx, rbx                                                       ; +0x31e, 0x14007da2e\ncall    CCMenuItemSpriteExtra__create                                  ; +0x321, 0x14007da31\nmov     [rdi+2A0h], rax                                                ; +0x326, 0x14007da36\nmov     rcx, [rdi+230h]                                                ; +0x32d, 0x14007da3d\nmov     r8, [rcx]                                                      ; +0x334, 0x14007da44\nmov     rdx, rax                                                       ; +0x337, 0x14007da47\ncall    qword ptr [r8+1C0h]                                            ; +0x33a, 0x14007da4a\nmovss   [rsp+0E0h+var_A8], xmm9                                        ; +0x341, 0x14007da51\nmov     [rsp+0E0h+var_B0], r15                                         ; +0x348, 0x14007da58\nmov     [rsp+0E0h+var_B8], r14                                         ; +0x34d, 0x14007da5d\nmov     byte ptr [rsp+0E0h+var_C0], 1                                  ; +0x352, 0x14007da62\nmovaps  xmm3, xmm6                                                     ; +0x357, 0x14007da67\nxor     r8d, r8d                                                       ; +0x35a, 0x14007da6a\nmov     edx, 0A0h                                                      ; +0x35d, 0x14007da6d\nlea     rcx, aLoad; \"Load\"                                             ; +0x362, 0x14007da72\ncall    ButtonSprite__create_1                                         ; +0x369, 0x14007da79\nlea     r9, AccountLayer__onSync                                       ; +0x36e, 0x14007da7e\nmov     r8, rdi                                                        ; +0x375, 0x14007da85\nxor     edx, edx                                                       ; +0x378, 0x14007da88\nmov     rcx, rax                                                       ; +0x37a, 0x14007da8a\ncall    CCMenuItemSpriteExtra__create                                  ; +0x37d, 0x14007da8d\nmov     [rdi+2A8h], rax                                                ; +0x382, 0x14007da92\nmov     rcx, [rdi+230h]                                                ; +0x389, 0x14007da99\nmov     r8, [rcx]                                                      ; +0x390, 0x14007daa0\nmov     rdx, rax                                                       ; +0x393, 0x14007daa3\ncall    qword ptr [r8+1C0h]                                            ; +0x396, 0x14007daa6\nmovss   [rsp+0E0h+var_A8], xmm9                                        ; +0x39d, 0x14007daad\nmov     [rsp+0E0h+var_B0], r15                                         ; +0x3a4, 0x14007dab4\nmov     [rsp+0E0h+var_B8], r14                                         ; +0x3a9, 0x14007dab9\nmov     byte ptr [rsp+0E0h+var_C0], 1                                  ; +0x3ae, 0x14007dabe\nmovaps  xmm3, xmm6                                                     ; +0x3b3, 0x14007dac3\nxor     r8d, r8d                                                       ; +0x3b6, 0x14007dac6\nmov     edx, 0A0h                                                      ; +0x3b9, 0x14007dac9\nlea     rcx, aHelp; \"Help\"                                             ; +0x3be, 0x14007dace\ncall    ButtonSprite__create_1                                         ; +0x3c5, 0x14007dad5\nlea     r9, AccountLayer__onHelp                                       ; +0x3ca, 0x14007dada\nmov     r8, rdi                                                        ; +0x3d1, 0x14007dae1\nxor     edx, edx                                                       ; +0x3d4, 0x14007dae4\nmov     rcx, rax                                                       ; +0x3d6, 0x14007dae6\ncall    CCMenuItemSpriteExtra__create                                  ; +0x3d9, 0x14007dae9\nmov     [rdi+2B0h], rax                                                ; +0x3de, 0x14007daee\nmov     rcx, [rdi+230h]                                                ; +0x3e5, 0x14007daf5\nmov     r8, [rcx]                                                      ; +0x3ec, 0x14007dafc\nmov     rdx, rax                                                       ; +0x3ef, 0x14007daff\ncall    qword ptr [r8+1C0h]                                            ; +0x3f2, 0x14007db02\nmovss   [rsp+0E0h+var_A8], xmm9                                        ; +0x3f9, 0x14007db09\nmov     [rsp+0E0h+var_B0], r15                                         ; +0x400, 0x14007db10\nmov     [rsp+0E0h+var_B8], r14                                         ; +0x405, 0x14007db15\nmov     byte ptr [rsp+0E0h+var_C0], 1                                  ; +0x40a, 0x14007db1a\nmovaps  xmm3, xmm6                                                     ; +0x40f, 0x14007db1f\nxor     r8d, r8d                                                       ; +0x412, 0x14007db22\nmov     edx, 0A0h                                                      ; +0x415, 0x14007db25\nlea     rcx, aMore; \"More\"                                             ; +0x41a, 0x14007db2a\ncall    ButtonSprite__create_1                                         ; +0x421, 0x14007db31\nlea     r9, AccountLayer__onMore                                       ; +0x426, 0x14007db36\nmov     r8, rdi                                                        ; +0x42d, 0x14007db3d\nxor     edx, edx                                                       ; +0x430, 0x14007db40\nmov     rcx, rax                                                       ; +0x432, 0x14007db42\ncall    CCMenuItemSpriteExtra__create                                  ; +0x435, 0x14007db45\nmov     [rdi+2B8h], rax                                                ; +0x43a, 0x14007db4a\nmov     rcx, [rdi+230h]                                                ; +0x441, 0x14007db51\nmov     r8, [rcx]                                                      ; +0x448, 0x14007db58\nmov     rdx, rax                                                       ; +0x44b, 0x14007db5b\ncall    qword ptr [r8+1C0h]                                            ; +0x44e, 0x14007db5e\nmovss   xmm2, [rbp+57h+var_74]                                         ; +0x455, 0x14007db65\nmulss   xmm2, xmm8                                                     ; +0x45a, 0x14007db6a\naddss   xmm2, cs:dword_140623164                                       ; +0x45f, 0x14007db6f\nmovss   xmm1, [rbp+57h+var_78]                                         ; +0x467, 0x14007db77\nmulss   xmm1, xmm8                                                     ; +0x46c, 0x14007db7c\nlea     rcx, [rbp+57h+var_88]                                          ; +0x471, 0x14007db81\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x475, 0x14007db85\nmov     r8, rax                                                        ; +0x47b, 0x14007db8b\nlea     rdx, [rbp+57h+var_90]                                          ; +0x47e, 0x14007db8e\nmov     rcx, [rdi+240h]                                                ; +0x482, 0x14007db92\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x489, 0x14007db99\nmov     r8, rax                                                        ; +0x48f, 0x14007db9f\nlea     rdx, [rbp+57h+var_80]                                          ; +0x492, 0x14007dba2\nmov     rcx, [rdi+230h]                                                ; +0x496, 0x14007dba6\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x49d, 0x14007dbad\nxorps   xmm2, xmm2                                                     ; +0x4a3, 0x14007dbb3\nxorps   xmm1, xmm1                                                     ; +0x4a6, 0x14007dbb6\nlea     rcx, [rbp+57h+var_88]                                          ; +0x4a9, 0x14007dbb9\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x4ad, 0x14007dbbd\nmov     r8, rax                                                        ; +0x4b3, 0x14007dbc3\nlea     rdx, [rbp+57h+var_90]                                          ; +0x4b6, 0x14007dbc6\nlea     rcx, [rbp+57h+var_80]                                          ; +0x4ba, 0x14007dbca\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x4be, 0x14007dbce\nmov     rcx, [rdi+290h]                                                ; +0x4c4, 0x14007dbd4\nmov     rax, [rcx]                                                     ; +0x4cb, 0x14007dbdb\nlea     rdx, [rbp+57h+var_90]                                          ; +0x4ce, 0x14007dbde\ncall    qword ptr [rax+0B8h]                                           ; +0x4d2, 0x14007dbe2\nmovss   xmm2, cs:dword_1406239C0                                       ; +0x4d8, 0x14007dbe8\nxorps   xmm1, xmm1                                                     ; +0x4e0, 0x14007dbf0\nlea     rcx, [rbp+57h+var_88]                                          ; +0x4e3, 0x14007dbf3\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x4e7, 0x14007dbf7\nmov     r8, rax                                                        ; +0x4ed, 0x14007dbfd\nlea     rdx, [rbp+57h+var_90]                                          ; +0x4f0, 0x14007dc00\nlea     rcx, [rbp+57h+var_80]                                          ; +0x4f4, 0x14007dc04\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x4f8, 0x14007dc08\nmov     rcx, [rdi+298h]                                                ; +0x4fe, 0x14007dc0e\nmov     rax, [rcx]                                                     ; +0x505, 0x14007dc15\nlea     rdx, [rbp+57h+var_90]                                          ; +0x508, 0x14007dc18\ncall    qword ptr [rax+0B8h]                                           ; +0x50c, 0x14007dc1c\nxorps   xmm2, xmm2                                                     ; +0x512, 0x14007dc22\nxorps   xmm1, xmm1                                                     ; +0x515, 0x14007dc25\nlea     rcx, [rbp+57h+var_88]                                          ; +0x518, 0x14007dc28\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x51c, 0x14007dc2c\nmov     r8, rax                                                        ; +0x522, 0x14007dc32\nlea     rdx, [rbp+57h+var_90]                                          ; +0x525, 0x14007dc35\nlea     rcx, [rbp+57h+var_80]                                          ; +0x529, 0x14007dc39\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x52d, 0x14007dc3d\nmov     rcx, [rdi+2A0h]                                                ; +0x533, 0x14007dc43\nmov     rax, [rcx]                                                     ; +0x53a, 0x14007dc4a\nlea     rdx, [rbp+57h+var_90]                                          ; +0x53d, 0x14007dc4d\ncall    qword ptr [rax+0B8h]                                           ; +0x541, 0x14007dc51\nmovss   xmm6, cs:dword_14062392C                                       ; +0x547, 0x14007dc57\nmovaps  xmm2, xmm6                                                     ; +0x54f, 0x14007dc5f\nxorps   xmm1, xmm1                                                     ; +0x552, 0x14007dc62\nlea     rcx, [rbp+57h+var_88]                                          ; +0x555, 0x14007dc65\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x559, 0x14007dc69\nmov     r8, rax                                                        ; +0x55f, 0x14007dc6f\nlea     rdx, [rbp+57h+var_90]                                          ; +0x562, 0x14007dc72\nlea     rcx, [rbp+57h+var_80]                                          ; +0x566, 0x14007dc76\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x56a, 0x14007dc7a\nmov     rcx, [rdi+2A8h]                                                ; +0x570, 0x14007dc80\nmov     rax, [rcx]                                                     ; +0x577, 0x14007dc87\nlea     rdx, [rbp+57h+var_90]                                          ; +0x57a, 0x14007dc8a\ncall    qword ptr [rax+0B8h]                                           ; +0x57e, 0x14007dc8e\nmovaps  xmm2, xmm6                                                     ; +0x584, 0x14007dc94\nxorps   xmm1, xmm1                                                     ; +0x587, 0x14007dc97\nlea     rcx, [rbp+57h+var_88]                                          ; +0x58a, 0x14007dc9a\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x58e, 0x14007dc9e\nmov     r8, rax                                                        ; +0x594, 0x14007dca4\nlea     rdx, [rbp+57h+var_90]                                          ; +0x597, 0x14007dca7\nlea     rcx, [rbp+57h+var_80]                                          ; +0x59b, 0x14007dcab\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x59f, 0x14007dcaf\nmov     rcx, [rdi+2B0h]                                                ; +0x5a5, 0x14007dcb5\nmov     rax, [rcx]                                                     ; +0x5ac, 0x14007dcbc\nlea     rdx, [rbp+57h+var_90]                                          ; +0x5af, 0x14007dcbf\ncall    qword ptr [rax+0B8h]                                           ; +0x5b3, 0x14007dcc3\nmovss   xmm2, cs:dword_1406239C0                                       ; +0x5b9, 0x14007dcc9\nxorps   xmm1, xmm1                                                     ; +0x5c1, 0x14007dcd1\nlea     rcx, [rbp+57h+var_88]                                          ; +0x5c4, 0x14007dcd4\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x5c8, 0x14007dcd8\nmov     r8, rax                                                        ; +0x5ce, 0x14007dcde\nlea     rdx, [rbp+57h+var_90]                                          ; +0x5d1, 0x14007dce1\nlea     rcx, [rbp+57h+var_80]                                          ; +0x5d5, 0x14007dce5\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x5d9, 0x14007dce9\nmov     rcx, [rdi+2B8h]                                                ; +0x5df, 0x14007dcef\nmov     rax, [rcx]                                                     ; +0x5e6, 0x14007dcf6\nlea     rdx, [rbp+57h+var_90]                                          ; +0x5e9, 0x14007dcf9\ncall    qword ptr [rax+0B8h]                                           ; +0x5ed, 0x14007dcfd\ncall    GJAccountManager__sharedState                                  ; +0x5f3, 0x14007dd03\nmov     ecx, [rax+16Ch]                                                ; +0x5f8, 0x14007dd08\ncmp     [rax+168h], ecx                                                ; +0x5fe, 0x14007dd0e\njz      short loc_14007DD3B                                            ; +0x604, 0x14007dd14\ncall    GJAccountManager__sharedState                                  ; +0x606, 0x14007dd16\nlea     rdx, [rax+178h]                                                ; +0x60b, 0x14007dd1b\nlea     rcx, [rbp+57h+var_70]                                          ; +0x612, 0x14007dd22\ncall    sub_14003BDB0                                                  ; +0x616, 0x14007dd26\nmov     esi, 3                                                         ; +0x61b, 0x14007dd2b\ncmp     [rbp+57h+var_60], 0                                            ; +0x620, 0x14007dd30\njbe     short loc_14007DD3B                                            ; +0x625, 0x14007dd35\nmov     al, 1                                                          ; +0x627, 0x14007dd37\njmp     short loc_14007DD3D                                            ; +0x629, 0x14007dd39\nxor     al, al                                                         ; +0x62b, 0x14007dd3b\nmov     [rdi+2CCh], al                                                 ; +0x62d, 0x14007dd3d\ntest    sil, 1                                                         ; +0x633, 0x14007dd43\njz      short loc_14007DD52                                            ; +0x637, 0x14007dd47\nlea     rcx, [rbp+57h+var_70]                                          ; +0x639, 0x14007dd49\ncall    sub_14003A830                                                  ; +0x63d, 0x14007dd4d\nxor     edx, edx                                                       ; +0x642, 0x14007dd52\nmov     rcx, rdi                                                       ; +0x644, 0x14007dd54\ncall    AccountLayer__updatePage                                       ; +0x647, 0x14007dd57\nlea     rbx, [rdi+260h]                                                ; +0x64c, 0x14007dd5c\ncall    GJAccountManager__sharedState                                  ; +0x653, 0x14007dd63\nmov     [rax+1A8h], rbx                                                ; +0x658, 0x14007dd68\nlea     rbx, [rdi+268h]                                                ; +0x65f, 0x14007dd6f\ncall    GJAccountManager__sharedState                                  ; +0x666, 0x14007dd76\nmov     [rax+1B0h], rbx                                                ; +0x66b, 0x14007dd7b\nlea     rbx, [rdi+270h]                                                ; +0x672, 0x14007dd82\ncall    GJAccountManager__sharedState                                  ; +0x679, 0x14007dd89\nmov     [rax+1B8h], rbx                                                ; +0x67e, 0x14007dd8e\ncall    LoadingCircle__create                                          ; +0x685, 0x14007dd95\nmov     [rdi+2C0h], rax                                                ; +0x68a, 0x14007dd9a\nmov     rcx, [rdi+240h]                                                ; +0x691, 0x14007dda1\nmov     [rax+228h], rcx                                                ; +0x698, 0x14007dda8\nmov     rax, [rdi+2C0h]                                                ; +0x69f, 0x14007ddaf\nmov     byte ptr [rax+230h], 1                                         ; +0x6a6, 0x14007ddb6\nmov     rcx, [rdi+2C0h]                                                ; +0x6ad, 0x14007ddbd\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x6b4, 0x14007ddc4\nmov     rcx, [rdi+2C0h]                                                ; +0x6ba, 0x14007ddca\ncall    LoadingCircle__show                                            ; +0x6c1, 0x14007ddd1\nmov     rcx, [rdi+2C0h]                                                ; +0x6c6, 0x14007ddd6\nmov     rax, [rcx]                                                     ; +0x6cd, 0x14007dddd\nxor     edx, edx                                                       ; +0x6d0, 0x14007dde0\ncall    qword ptr [rax+140h]                                           ; +0x6d2, 0x14007dde2\nmov     rax, [rdi+2C0h]                                                ; +0x6d8, 0x14007dde8\nmov     rbx, [rax+220h]                                                ; +0x6df, 0x14007ddef\nmov     rdi, [rbx]                                                     ; +0x6e6, 0x14007ddf6\nmovss   xmm2, [rbp+57h+var_74]                                         ; +0x6e9, 0x14007ddf9\nmulss   xmm2, xmm8                                                     ; +0x6ee, 0x14007ddfe\nmovss   xmm1, [rbp+57h+var_78]                                         ; +0x6f3, 0x14007de03\nmulss   xmm1, xmm8                                                     ; +0x6f8, 0x14007de08\nlea     rcx, [rbp+57h+var_88]                                          ; +0x6fd, 0x14007de0d\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x701, 0x14007de11\nmov     rdx, rax                                                       ; +0x707, 0x14007de17\nmov     rcx, rbx                                                       ; +0x70a, 0x14007de1a\ncall    qword ptr [rdi+0B8h]                                           ; +0x70d, 0x14007de1d\nmov     rcx, [rbp+57h+var_50]                                          ; +0x713, 0x14007de23\nxor     rcx, rsp; StackCookie                                          ; +0x717, 0x14007de27\ncall    __security_check_cookie                                        ; +0x71a, 0x14007de2a\nlea     r11, [rsp+0E0h+var_10]                                         ; +0x71f, 0x14007de2f\nmov     rbx, [r11+28h]                                                 ; +0x727, 0x14007de37\nmov     rsi, [r11+30h]                                                 ; +0x72b, 0x14007de3b\nmov     rdi, [r11+38h]                                                 ; +0x72f, 0x14007de3f\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x733, 0x14007de43\nmovaps  xmm8, xmmword ptr [r11-20h]                                    ; +0x738, 0x14007de48\nmovaps  xmm9, xmmword ptr [r11-30h]                                    ; +0x73d, 0x14007de4d\nmov     rsp, r11                                                       ; +0x742, 0x14007de52\npop     r15                                                            ; +0x745, 0x14007de55\npop     r14                                                            ; +0x747, 0x14007de57\npop     rbp                                                            ; +0x749, 0x14007de59\nretn                                                                   ; +0x74a, 0x14007de5a", "xrefs": ["<???> @ 0x14053b6e0", "<???> @ 0x1406c68ac"], "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"}