{"type": "func", "start": 5369282288, "end": 5369282571, "name": "AccountRegisterLayer::dAccountRegisterLayer", "pseudocode": "// \n// AccountRegisterLayer::dAccountRegisterLayer from 0x14008bef0 to 0x14008c00b (283 bytes)\n// \n// 3 xrefs:\n// > sub_1400928BC @ 0x1400928c3\n// > <???> @ 0x140716f20\n// > <???> @ 0x1409128f0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:25:59 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nchar *__fastcall AccountRegisterLayer::dAccountRegisterLayer(char *Block, char a2)\n{\n  char *v4; // rbx\n  __int64 v5; // rax\n  cocos2d::CCObject *v6; // rcx\n\n  *(_QWORD *)Block = &AccountRegisterLayer::`vftable';\n  *((_QWORD *)Block + 40) = &AccountRegisterLayer::`vftable';\n  *((_QWORD *)Block + 41) = &AccountRegisterLayer::`vftable';\n  *((_QWORD *)Block + 42) = &AccountRegisterLayer::`vftable';\n  *((_QWORD *)Block + 43) = &AccountRegisterLayer::`vftable';\n  *((_QWORD *)Block + 44) = &AccountRegisterLayer::`vftable';\n  *((_QWORD *)Block + 51) = &AccountRegisterLayer::`vftable';\n  *((_QWORD *)Block + 54) = &AccountRegisterLayer::`vftable';\n  *((_QWORD *)Block + 68) = &AccountRegisterLayer::`vftable';\n  v4 = Block + 664;\n  *((_QWORD *)Block + 83) = &AccountRegisterLayer::`vftable';\n  *((_QWORD *)Block + 84) = &AccountRegisterLayer::`vftable';\n  v5 = GJAccountManager::sharedState();\n  if ( !Block )\n    v4 = nullptr;\n  if ( *(char **)(v5 + 408) == v4 )\n    *(_QWORD *)(GJAccountManager::sharedState() + 408) = 0;\n  v6 = *((cocos2d::CCObject **)Block + 96);\n  if ( v6 )\n    cocos2d::CCObject::release(v6);\n  FLAlertLayer::dFLAlertLayer((__int64)Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; AccountRegisterLayer::dAccountRegisterLayer from 0x14008bef0 to 0x14008c00b (283 bytes)\n; \n; 3 xrefs:\n; > sub_1400928BC @ 0x1400928c3\n; > <???> @ 0x140716f20\n; > <???> @ 0x1409128f0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:25:59 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14008bef0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14008bef5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x14008befa\npush    rdi                                                            ; +0xf, 0x14008beff\nsub     rsp, 20h                                                       ; +0x10, 0x14008bf00\nmov     esi, edx                                                       ; +0x14, 0x14008bf04\nmov     rdi, rcx                                                       ; +0x16, 0x14008bf06\nlea     rax, ??_7AccountRegisterLayer@@6B@; const AccountRegisterLayer::`vftable' ; +0x19, 0x14008bf09\nmov     [rcx], rax                                                     ; +0x20, 0x14008bf10\nlea     rax, ??_7AccountRegisterLayer@@6B@_0; const AccountRegisterLayer::`vftable' ; +0x23, 0x14008bf13\nmov     [rcx+140h], rax                                                ; +0x2a, 0x14008bf1a\nlea     rax, ??_7AccountRegisterLayer@@6B@_1; const AccountRegisterLayer::`vftable' ; +0x31, 0x14008bf21\nmov     [rcx+148h], rax                                                ; +0x38, 0x14008bf28\nlea     rax, ??_7AccountRegisterLayer@@6B@_2; const AccountRegisterLayer::`vftable' ; +0x3f, 0x14008bf2f\nmov     [rcx+150h], rax                                                ; +0x46, 0x14008bf36\nlea     rax, ??_7AccountRegisterLayer@@6B@_3; const AccountRegisterLayer::`vftable' ; +0x4d, 0x14008bf3d\nmov     [rcx+158h], rax                                                ; +0x54, 0x14008bf44\nlea     rax, ??_7AccountRegisterLayer@@6B@_4; const AccountRegisterLayer::`vftable' ; +0x5b, 0x14008bf4b\nmov     [rcx+160h], rax                                                ; +0x62, 0x14008bf52\nlea     rax, ??_7AccountRegisterLayer@@6B@_5; const AccountRegisterLayer::`vftable' ; +0x69, 0x14008bf59\nmov     [rcx+198h], rax                                                ; +0x70, 0x14008bf60\nlea     rax, ??_7AccountRegisterLayer@@6B@_6; const AccountRegisterLayer::`vftable' ; +0x77, 0x14008bf67\nmov     [rcx+1B0h], rax                                                ; +0x7e, 0x14008bf6e\nlea     rax, ??_7AccountRegisterLayer@@6B@_7; const AccountRegisterLayer::`vftable' ; +0x85, 0x14008bf75\nmov     [rcx+220h], rax                                                ; +0x8c, 0x14008bf7c\nlea     rbx, [rcx+298h]                                                ; +0x93, 0x14008bf83\nlea     rax, ??_7AccountRegisterLayer@@6B@_8; const AccountRegisterLayer::`vftable' ; +0x9a, 0x14008bf8a\nmov     [rbx], rax                                                     ; +0xa1, 0x14008bf91\nlea     rax, ??_7AccountRegisterLayer@@6B@_9; const AccountRegisterLayer::`vftable' ; +0xa4, 0x14008bf94\nmov     [rcx+2A0h], rax                                                ; +0xab, 0x14008bf9b\ncall    GJAccountManager__sharedState                                  ; +0xb2, 0x14008bfa2\nxor     ebp, ebp                                                       ; +0xb7, 0x14008bfa7\ntest    rdi, rdi                                                       ; +0xb9, 0x14008bfa9\ncmovz   rbx, rbp                                                       ; +0xbc, 0x14008bfac\ncmp     [rax+198h], rbx                                                ; +0xc0, 0x14008bfb0\njnz     short loc_14008BFC5                                            ; +0xc7, 0x14008bfb7\ncall    GJAccountManager__sharedState                                  ; +0xc9, 0x14008bfb9\nmov     [rax+198h], rbp                                                ; +0xce, 0x14008bfbe\nmov     rcx, [rdi+300h]                                                ; +0xd5, 0x14008bfc5\ntest    rcx, rcx                                                       ; +0xdc, 0x14008bfcc\njz      short loc_14008BFD7                                            ; +0xdf, 0x14008bfcf\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xe1, 0x14008bfd1\nmov     rcx, rdi                                                       ; +0xe7, 0x14008bfd7\ncall    FLAlertLayer__dFLAlertLayer; Merged with: FLAlertLayer::~FLAlertLayer, DailyRecallUnlockPopup::~DailyRecallUnlockPopup, DemonInfoPopup::~DemonInfoPopup, EditorSoundsSettingsPopup::~EditorSoundsSettingsPopup, GJPathRewardPopup::~GJPathRewardPopup, GJPromoPopup::~GJPromoPopup, LevelStatsInfoPopup::~LevelStatsInfoPopup, NCSInfoLayer::~NCSInfoLayer, NewgroundsInfoLayer::~NewgroundsInfoLayer, SelectSFXSortLayer::~SelectSFXSortLayer, StarInfoPopup::~StarInfoPopup ; +0xea, 0x14008bfda\nnop                                                                    ; +0xef, 0x14008bfdf\ntest    sil, 1                                                         ; +0xf0, 0x14008bfe0\njz      short loc_14008BFF3                                            ; +0xf4, 0x14008bfe4\nmov     edx, 310h                                                      ; +0xf6, 0x14008bfe6\nmov     rcx, rdi; Block                                                ; +0xfb, 0x14008bfeb\ncall    j_j_free                                                       ; +0xfe, 0x14008bfee\nmov     rax, rdi                                                       ; +0x103, 0x14008bff3\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x106, 0x14008bff6\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x10b, 0x14008bffb\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x110, 0x14008c000\nadd     rsp, 20h                                                       ; +0x115, 0x14008c005\npop     rdi                                                            ; +0x119, 0x14008c009\nretn                                                                   ; +0x11a, 0x14008c00a", "xrefs": ["sub_1400928BC @ 0x1400928c3", "<???> @ 0x140716f20", "<???> @ 0x1409128f0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}