{"type": "func", "start": 5372696848, "end": 5372697336, "name": "InfoLayer::dInfoLayer", "pseudocode": "// \n// InfoLayer::dInfoLayer from 0x1403cd910 to 0x1403cdaf8 (488 bytes)\n// \n// 3 xrefs:\n// > sub_1403D4924 @ 0x1403d492b\n// > <???> @ 0x140785330\n// > <???> @ 0x140924644\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:31:33 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nchar *__fastcall InfoLayer::dInfoLayer(char *Block, char a2)\n{\n  char *v4; // rdi\n  char *v5; // rsi\n  cocos2d::CCObject *v6; // rcx\n  cocos2d::CCObject *v7; // rcx\n  cocos2d::CCObject *v8; // rcx\n  cocos2d::CCObject *v9; // rcx\n  __int64 v10; // rax\n  void *v11; // rax\n  char *v12; // rcx\n  char *v13; // rcx\n  cocos2d::CCNotificationCenter *v14; // rax\n\n  *(_QWORD *)Block = &InfoLayer::`vftable';\n  *((_QWORD *)Block + 40) = &InfoLayer::`vftable';\n  *((_QWORD *)Block + 41) = &InfoLayer::`vftable';\n  *((_QWORD *)Block + 42) = &InfoLayer::`vftable';\n  *((_QWORD *)Block + 43) = &InfoLayer::`vftable';\n  *((_QWORD *)Block + 44) = &InfoLayer::`vftable';\n  *((_QWORD *)Block + 51) = &InfoLayer::`vftable';\n  *((_QWORD *)Block + 54) = &InfoLayer::`vftable';\n  *((_QWORD *)Block + 68) = &InfoLayer::`vftable';\n  v4 = Block + 664;\n  *((_QWORD *)Block + 83) = &InfoLayer::`vftable';\n  v5 = Block + 672;\n  *((_QWORD *)Block + 84) = &InfoLayer::`vftable';\n  *((_QWORD *)Block + 85) = &InfoLayer::`vftable';\n  *((_QWORD *)Block + 86) = &InfoLayer::`vftable';\n  v6 = *((cocos2d::CCObject **)Block + 87);\n  if ( v6 )\n    cocos2d::CCObject::release(v6);\n  v7 = *((cocos2d::CCObject **)Block + 88);\n  if ( v7 )\n    cocos2d::CCObject::release(v7);\n  v8 = *((cocos2d::CCObject **)Block + 89);\n  if ( v8 )\n    cocos2d::CCObject::release(v8);\n  v9 = *((cocos2d::CCObject **)Block + 90);\n  if ( v9 )\n    cocos2d::CCObject::release(v9);\n  v10 = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v11 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v11);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v10 = *(_QWORD *)&qword_14090BFB0;\n  }\n  v12 = *(char **)(v10 + 1368);\n  if ( v12 && v12 == v4 )\n    *(_QWORD *)(v10 + 1368) = 0;\n  v13 = *(char **)(v10 + 1376);\n  if ( v13 && v13 == v5 )\n    *(_QWORD *)(v10 + 1376) = 0;\n  v14 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(v13);\n  cocos2d::CCNotificationCenter::removeObserver(v14, (struct cocos2d::CCObject *)Block, \"CommentCellToggleNotification\");\n  sub_140083330((void **)Block + 117);\n  sub_14003D310((__int64)(Block + 728));\n  FLAlertLayer::dFLAlertLayer((__int64)Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; InfoLayer::dInfoLayer from 0x1403cd910 to 0x1403cdaf8 (488 bytes)\n; \n; 3 xrefs:\n; > sub_1403D4924 @ 0x1403d492b\n; > <???> @ 0x140785330\n; > <???> @ 0x140924644\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:31:33 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403cd910\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1403cd915\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1403cd91a\npush    rdi                                                            ; +0xf, 0x1403cd91f\nsub     rsp, 20h                                                       ; +0x10, 0x1403cd920\nmov     ebp, edx                                                       ; +0x14, 0x1403cd924\nmov     rbx, rcx                                                       ; +0x16, 0x1403cd926\nlea     rax, ??_7InfoLayer@@6B@; const InfoLayer::`vftable'            ; +0x19, 0x1403cd929\nmov     [rcx], rax                                                     ; +0x20, 0x1403cd930\nlea     rax, ??_7InfoLayer@@6B@_0; const InfoLayer::`vftable'          ; +0x23, 0x1403cd933\nmov     [rcx+140h], rax                                                ; +0x2a, 0x1403cd93a\nlea     rax, ??_7InfoLayer@@6B@_1; const InfoLayer::`vftable'          ; +0x31, 0x1403cd941\nmov     [rcx+148h], rax                                                ; +0x38, 0x1403cd948\nlea     rax, ??_7InfoLayer@@6B@_2; const InfoLayer::`vftable'          ; +0x3f, 0x1403cd94f\nmov     [rcx+150h], rax                                                ; +0x46, 0x1403cd956\nlea     rax, ??_7InfoLayer@@6B@_3; const InfoLayer::`vftable'          ; +0x4d, 0x1403cd95d\nmov     [rcx+158h], rax                                                ; +0x54, 0x1403cd964\nlea     rax, ??_7InfoLayer@@6B@_4; const InfoLayer::`vftable'          ; +0x5b, 0x1403cd96b\nmov     [rcx+160h], rax                                                ; +0x62, 0x1403cd972\nlea     rax, ??_7InfoLayer@@6B@_5; const InfoLayer::`vftable'          ; +0x69, 0x1403cd979\nmov     [rcx+198h], rax                                                ; +0x70, 0x1403cd980\nlea     rax, ??_7InfoLayer@@6B@_6; const InfoLayer::`vftable'          ; +0x77, 0x1403cd987\nmov     [rcx+1B0h], rax                                                ; +0x7e, 0x1403cd98e\nlea     rax, ??_7InfoLayer@@6B@_7; const InfoLayer::`vftable'          ; +0x85, 0x1403cd995\nmov     [rcx+220h], rax                                                ; +0x8c, 0x1403cd99c\nlea     rdi, [rcx+298h]                                                ; +0x93, 0x1403cd9a3\nlea     rax, ??_7InfoLayer@@6B@_8; const InfoLayer::`vftable'          ; +0x9a, 0x1403cd9aa\nmov     [rdi], rax                                                     ; +0xa1, 0x1403cd9b1\nlea     rsi, [rcx+2A0h]                                                ; +0xa4, 0x1403cd9b4\nlea     rax, ??_7InfoLayer@@6B@_9; const InfoLayer::`vftable'          ; +0xab, 0x1403cd9bb\nmov     [rsi], rax                                                     ; +0xb2, 0x1403cd9c2\nlea     rax, ??_7InfoLayer@@6B@_10; const InfoLayer::`vftable'         ; +0xb5, 0x1403cd9c5\nmov     [rcx+2A8h], rax                                                ; +0xbc, 0x1403cd9cc\nlea     rax, ??_7InfoLayer@@6B@_11; const InfoLayer::`vftable'         ; +0xc3, 0x1403cd9d3\nmov     [rcx+2B0h], rax                                                ; +0xca, 0x1403cd9da\nmov     rcx, [rcx+2B8h]                                                ; +0xd1, 0x1403cd9e1\ntest    rcx, rcx                                                       ; +0xd8, 0x1403cd9e8\njz      short loc_1403CD9F3                                            ; +0xdb, 0x1403cd9eb\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xdd, 0x1403cd9ed\nmov     rcx, [rbx+2C0h]                                                ; +0xe3, 0x1403cd9f3\ntest    rcx, rcx                                                       ; +0xea, 0x1403cd9fa\njz      short loc_1403CDA05                                            ; +0xed, 0x1403cd9fd\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xef, 0x1403cd9ff\nmov     rcx, [rbx+2C8h]                                                ; +0xf5, 0x1403cda05\ntest    rcx, rcx                                                       ; +0xfc, 0x1403cda0c\njz      short loc_1403CDA17                                            ; +0xff, 0x1403cda0f\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x101, 0x1403cda11\nmov     rcx, [rbx+2D0h]                                                ; +0x107, 0x1403cda17\ntest    rcx, rcx                                                       ; +0x10e, 0x1403cda1e\njz      short loc_1403CDA29                                            ; +0x111, 0x1403cda21\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x113, 0x1403cda23\nmov     rax, cs:qword_14090BFB0                                        ; +0x119, 0x1403cda29\ntest    rax, rax                                                       ; +0x120, 0x1403cda30\njnz     short loc_1403CDA61                                            ; +0x123, 0x1403cda33\nmov     ecx, 690h; Size                                                ; +0x125, 0x1403cda35\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12a, 0x1403cda3a\nmov     rcx, rax                                                       ; +0x12f, 0x1403cda3f\ncall    GameLevelManager__GameLevelManager                             ; +0x132, 0x1403cda42\nmov     cs:qword_14090BFB0, rax                                        ; +0x137, 0x1403cda47\nmov     rcx, [rax]                                                     ; +0x13e, 0x1403cda4e\nmov     rdx, [rcx+48h]                                                 ; +0x141, 0x1403cda51\nmov     rcx, rax                                                       ; +0x145, 0x1403cda55\ncall    rdx                                                            ; +0x148, 0x1403cda58\nmov     rax, cs:qword_14090BFB0                                        ; +0x14a, 0x1403cda5a\nmov     rcx, [rax+558h]                                                ; +0x151, 0x1403cda61\nxor     edx, edx                                                       ; +0x158, 0x1403cda68\ntest    rcx, rcx                                                       ; +0x15a, 0x1403cda6a\njz      short loc_1403CDA7B                                            ; +0x15d, 0x1403cda6d\ncmp     rcx, rdi                                                       ; +0x15f, 0x1403cda6f\njnz     short loc_1403CDA7B                                            ; +0x162, 0x1403cda72\nmov     [rax+558h], rdx                                                ; +0x164, 0x1403cda74\nmov     rcx, [rax+560h]                                                ; +0x16b, 0x1403cda7b\ntest    rcx, rcx                                                       ; +0x172, 0x1403cda82\njz      short loc_1403CDA93                                            ; +0x175, 0x1403cda85\ncmp     rcx, rsi                                                       ; +0x177, 0x1403cda87\njnz     short loc_1403CDA93                                            ; +0x17a, 0x1403cda8a\nmov     [rax+560h], rdx                                                ; +0x17c, 0x1403cda8c\ncall    cs:?sharedNotificationCenter@CCNotificationCenter@cocos2d@@SAPEAV12@XZ; cocos2d::CCNotificationCenter::sharedNotificationCenter(void) ; +0x183, 0x1403cda93\nmov     rcx, rax                                                       ; +0x189, 0x1403cda99\nlea     r8, aCommentcelltog; \"CommentCellToggleNotification\"           ; +0x18c, 0x1403cda9c\nmov     rdx, rbx                                                       ; +0x193, 0x1403cdaa3\ncall    cs:?removeObserver@CCNotificationCenter@cocos2d@@QEAAXPEAVCCObject@2@PEBD@Z; cocos2d::CCNotificationCenter::removeObserver(cocos2d::CCObject *,char const *) ; +0x196, 0x1403cdaa6\nlea     rcx, [rbx+3A8h]                                                ; +0x19c, 0x1403cdaac\ncall    sub_140083330                                                  ; +0x1a3, 0x1403cdab3\nlea     rcx, [rbx+2D8h]                                                ; +0x1a8, 0x1403cdab8\ncall    sub_14003D310                                                  ; +0x1af, 0x1403cdabf\nmov     rcx, rbx                                                       ; +0x1b4, 0x1403cdac4\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 ; +0x1b7, 0x1403cdac7\nnop                                                                    ; +0x1bc, 0x1403cdacc\ntest    bpl, 1                                                         ; +0x1bd, 0x1403cdacd\njz      short loc_1403CDAE0                                            ; +0x1c1, 0x1403cdad1\nmov     edx, 3C0h                                                      ; +0x1c3, 0x1403cdad3\nmov     rcx, rbx; Block                                                ; +0x1c8, 0x1403cdad8\ncall    j_j_free                                                       ; +0x1cb, 0x1403cdadb\nmov     rax, rbx                                                       ; +0x1d0, 0x1403cdae0\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x1d3, 0x1403cdae3\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x1d8, 0x1403cdae8\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x1dd, 0x1403cdaed\nadd     rsp, 20h                                                       ; +0x1e2, 0x1403cdaf2\npop     rdi                                                            ; +0x1e6, 0x1403cdaf6\nretn                                                                   ; +0x1e7, 0x1403cdaf7", "xrefs": ["sub_1403D4924 @ 0x1403d492b", "<???> @ 0x140785330", "<???> @ 0x140924644"], "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"}