{"type": "func", "start": 5372697344, "end": 5372697930, "name": "InfoLayer::create", "pseudocode": "// \n// InfoLayer::create from 0x1403cdb00 to 0x1403cdd4a (586 bytes)\n// \n// 10 xrefs:\n// > AccountReviewPopup::onNotes @ 0x1400b9a89\n// > AccountReviewPopup::onCommentHistory @ 0x1400b9b16\n// > EditorSoundConfigInfoLayer::onInfo @ 0x140195b9c\n// > InfoLayer::reloadWindow @ 0x1403d28e3\n// > LevelInfoLayer::onInfo @ 0x14042265c\n// > LevelListLayer::onInfo @ 0x14042f8eb\n// > PauseLayer::onSideButtonPressed @ 0x1404d966f\n// > ProfilePage::onCommentHistory @ 0x140556ae8\n// > ProfilePage::onModNotes @ 0x1405579f8\n// > <???> @ 0x140924650\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=3\nchar *__fastcall InfoLayer::create(int a1, int a2, int a3, __int64 a4)\n{\n  char *v8; // r15\n  _QWORD *v9; // rax\n\n  v8 = (char *)operator new(0x3C0u);\n  FLAlertLayer::FLAlertLayer((__int64)v8);\n  *(_QWORD *)v8 = &InfoLayer::`vftable';\n  *((_QWORD *)v8 + 40) = &InfoLayer::`vftable';\n  *((_QWORD *)v8 + 41) = &InfoLayer::`vftable';\n  *((_QWORD *)v8 + 42) = &InfoLayer::`vftable';\n  *((_QWORD *)v8 + 43) = &InfoLayer::`vftable';\n  *((_QWORD *)v8 + 44) = &InfoLayer::`vftable';\n  *((_QWORD *)v8 + 51) = &InfoLayer::`vftable';\n  *((_QWORD *)v8 + 54) = &InfoLayer::`vftable';\n  *((_QWORD *)v8 + 68) = &InfoLayer::`vftable';\n  *((_QWORD *)v8 + 83) = &InfoLayer::`vftable';\n  *((_QWORD *)v8 + 84) = &InfoLayer::`vftable';\n  *((_QWORD *)v8 + 85) = &InfoLayer::`vftable';\n  *((_QWORD *)v8 + 86) = &InfoLayer::`vftable';\n  *((_QWORD *)v8 + 87) = 0;\n  *((_QWORD *)v8 + 88) = 0;\n  *((_QWORD *)v8 + 89) = 0;\n  *((_QWORD *)v8 + 90) = 0;\n  *(_OWORD *)(v8 + 728) = 0;\n  *((_QWORD *)v8 + 93) = 0;\n  *((_QWORD *)v8 + 94) = 15;\n  v8[728] = 0;\n  *((_QWORD *)v8 + 95) = 0;\n  *((_QWORD *)v8 + 97) = 0;\n  *((_QWORD *)v8 + 98) = 0;\n  *((_QWORD *)v8 + 99) = 0;\n  *((_QWORD *)v8 + 100) = 0;\n  *((_QWORD *)v8 + 101) = 0;\n  *((_QWORD *)v8 + 102) = 0;\n  *((_QWORD *)v8 + 103) = 0;\n  *((_QWORD *)v8 + 104) = 0;\n  *((_QWORD *)v8 + 107) = 0;\n  *((_QWORD *)v8 + 108) = 0;\n  *((_QWORD *)v8 + 109) = 0;\n  v8[880] = 0;\n  v8[888] = 0;\n  *((_QWORD *)v8 + 112) = 0;\n  *((_QWORD *)v8 + 113) = 0;\n  *((_QWORD *)v8 + 114) = 0;\n  *((_QWORD *)v8 + 115) = 0;\n  *((_QWORD *)v8 + 116) = 0;\n  *((_QWORD *)v8 + 117) = 0;\n  *((_QWORD *)v8 + 118) = 0;\n  v9 = operator new(0x30u);\n  *v9 = v9;\n  v9[1] = v9;\n  v9[2] = v9;\n  *((_WORD *)v9 + 12) = 257;\n  *((_QWORD *)v8 + 117) = v9;\n  *((_QWORD *)v8 + 119) = 0;\n  if ( (unsigned __int8)InfoLayer::init((_DWORD)v8, a1, a2, a3, a4) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);\n    return v8;\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v8 + 8LL))(v8, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; InfoLayer::create from 0x1403cdb00 to 0x1403cdd4a (586 bytes)\n; \n; 10 xrefs:\n; > AccountReviewPopup::onNotes @ 0x1400b9a89\n; > AccountReviewPopup::onCommentHistory @ 0x1400b9b16\n; > EditorSoundConfigInfoLayer::onInfo @ 0x140195b9c\n; > InfoLayer::reloadWindow @ 0x1403d28e3\n; > LevelInfoLayer::onInfo @ 0x14042265c\n; > LevelListLayer::onInfo @ 0x14042f8eb\n; > PauseLayer::onSideButtonPressed @ 0x1404d966f\n; > ProfilePage::onCommentHistory @ 0x140556ae8\n; > ProfilePage::onModNotes @ 0x1405579f8\n; > <???> @ 0x140924650\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, 0x1403cdb00\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1403cdb05\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1403cdb0a\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x1403cdb0f\npush    r12                                                            ; +0x14, 0x1403cdb14\npush    r14                                                            ; +0x16, 0x1403cdb16\npush    r15                                                            ; +0x18, 0x1403cdb18\nsub     rsp, 40h                                                       ; +0x1a, 0x1403cdb1a\nmov     rdi, r9                                                        ; +0x1e, 0x1403cdb1e\nmov     rsi, r8                                                        ; +0x21, 0x1403cdb21\nmov     rbp, rdx                                                       ; +0x24, 0x1403cdb24\nmov     r14, rcx                                                       ; +0x27, 0x1403cdb27\nmov     ecx, 3C0h; Size                                                ; +0x2a, 0x1403cdb2a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2f, 0x1403cdb2f\nmov     r15, rax                                                       ; +0x34, 0x1403cdb34\nmov     [rsp+58h+var_28], rax                                          ; +0x37, 0x1403cdb37\nmov     rcx, rax                                                       ; +0x3c, 0x1403cdb3c\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x3f, 0x1403cdb3f\nnop                                                                    ; +0x44, 0x1403cdb44\nlea     rax, ??_7InfoLayer@@6B@; const InfoLayer::`vftable'            ; +0x45, 0x1403cdb45\nmov     [r15], rax                                                     ; +0x4c, 0x1403cdb4c\nlea     rax, ??_7InfoLayer@@6B@_0; const InfoLayer::`vftable'          ; +0x4f, 0x1403cdb4f\nmov     [r15+140h], rax                                                ; +0x56, 0x1403cdb56\nlea     rax, ??_7InfoLayer@@6B@_1; const InfoLayer::`vftable'          ; +0x5d, 0x1403cdb5d\nmov     [r15+148h], rax                                                ; +0x64, 0x1403cdb64\nlea     rax, ??_7InfoLayer@@6B@_2; const InfoLayer::`vftable'          ; +0x6b, 0x1403cdb6b\nmov     [r15+150h], rax                                                ; +0x72, 0x1403cdb72\nlea     rax, ??_7InfoLayer@@6B@_3; const InfoLayer::`vftable'          ; +0x79, 0x1403cdb79\nmov     [r15+158h], rax                                                ; +0x80, 0x1403cdb80\nlea     rax, ??_7InfoLayer@@6B@_4; const InfoLayer::`vftable'          ; +0x87, 0x1403cdb87\nmov     [r15+160h], rax                                                ; +0x8e, 0x1403cdb8e\nlea     rax, ??_7InfoLayer@@6B@_5; const InfoLayer::`vftable'          ; +0x95, 0x1403cdb95\nmov     [r15+198h], rax                                                ; +0x9c, 0x1403cdb9c\nlea     rax, ??_7InfoLayer@@6B@_6; const InfoLayer::`vftable'          ; +0xa3, 0x1403cdba3\nmov     [r15+1B0h], rax                                                ; +0xaa, 0x1403cdbaa\nlea     rax, ??_7InfoLayer@@6B@_7; const InfoLayer::`vftable'          ; +0xb1, 0x1403cdbb1\nmov     [r15+220h], rax                                                ; +0xb8, 0x1403cdbb8\nlea     rax, ??_7InfoLayer@@6B@_8; const InfoLayer::`vftable'          ; +0xbf, 0x1403cdbbf\nmov     [r15+298h], rax                                                ; +0xc6, 0x1403cdbc6\nlea     rax, ??_7InfoLayer@@6B@_9; const InfoLayer::`vftable'          ; +0xcd, 0x1403cdbcd\nmov     [r15+2A0h], rax                                                ; +0xd4, 0x1403cdbd4\nlea     rax, ??_7InfoLayer@@6B@_10; const InfoLayer::`vftable'         ; +0xdb, 0x1403cdbdb\nmov     [r15+2A8h], rax                                                ; +0xe2, 0x1403cdbe2\nlea     rax, ??_7InfoLayer@@6B@_11; const InfoLayer::`vftable'         ; +0xe9, 0x1403cdbe9\nmov     [r15+2B0h], rax                                                ; +0xf0, 0x1403cdbf0\nxor     r12d, r12d                                                     ; +0xf7, 0x1403cdbf7\nmov     [r15+2B8h], r12                                                ; +0xfa, 0x1403cdbfa\nmov     [r15+2C0h], r12                                                ; +0x101, 0x1403cdc01\nmov     [r15+2C8h], r12                                                ; +0x108, 0x1403cdc08\nmov     [r15+2D0h], r12                                                ; +0x10f, 0x1403cdc0f\nxorps   xmm0, xmm0                                                     ; +0x116, 0x1403cdc16\nmovups  xmmword ptr [r15+2D8h], xmm0                                   ; +0x119, 0x1403cdc19\nmov     [r15+2E8h], r12                                                ; +0x121, 0x1403cdc21\nmov     qword ptr [r15+2F0h], 0Fh                                      ; +0x128, 0x1403cdc28\nmov     [r15+2D8h], r12b                                               ; +0x133, 0x1403cdc33\nmov     [r15+2F8h], r12                                                ; +0x13a, 0x1403cdc3a\nmov     [r15+308h], r12                                                ; +0x141, 0x1403cdc41\nmov     [r15+310h], r12                                                ; +0x148, 0x1403cdc48\nmov     [r15+318h], r12                                                ; +0x14f, 0x1403cdc4f\nmov     [r15+320h], r12                                                ; +0x156, 0x1403cdc56\nmov     [r15+328h], r12                                                ; +0x15d, 0x1403cdc5d\nmov     [r15+330h], r12                                                ; +0x164, 0x1403cdc64\nmov     [r15+338h], r12                                                ; +0x16b, 0x1403cdc6b\nmov     [r15+340h], r12                                                ; +0x172, 0x1403cdc72\nmov     [r15+358h], r12                                                ; +0x179, 0x1403cdc79\nmov     [r15+360h], r12                                                ; +0x180, 0x1403cdc80\nmov     [r15+368h], r12                                                ; +0x187, 0x1403cdc87\nmov     [r15+370h], r12b                                               ; +0x18e, 0x1403cdc8e\nmov     [r15+378h], r12b                                               ; +0x195, 0x1403cdc95\nmov     [r15+380h], r12                                                ; +0x19c, 0x1403cdc9c\nmov     [r15+388h], r12                                                ; +0x1a3, 0x1403cdca3\nmov     [r15+390h], r12                                                ; +0x1aa, 0x1403cdcaa\nmov     [r15+398h], r12                                                ; +0x1b1, 0x1403cdcb1\nmov     [r15+3A0h], r12                                                ; +0x1b8, 0x1403cdcb8\nmov     [r15+3A8h], r12                                                ; +0x1bf, 0x1403cdcbf\nmov     [r15+3B0h], r12                                                ; +0x1c6, 0x1403cdcc6\nmov     ecx, 30h ; '0'; Size                                           ; +0x1cd, 0x1403cdccd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1d2, 0x1403cdcd2\nmov     [rax], rax                                                     ; +0x1d7, 0x1403cdcd7\nmov     [rax+8], rax                                                   ; +0x1da, 0x1403cdcda\nmov     [rax+10h], rax                                                 ; +0x1de, 0x1403cdcde\nmov     word ptr [rax+18h], 101h                                       ; +0x1e2, 0x1403cdce2\nmov     [r15+3A8h], rax                                                ; +0x1e8, 0x1403cdce8\nmov     [r15+3B8h], r12                                                ; +0x1ef, 0x1403cdcef\nmov     [rsp+58h+var_38], rdi                                          ; +0x1f6, 0x1403cdcf6\nmov     r9, rsi                                                        ; +0x1fb, 0x1403cdcfb\nmov     r8, rbp                                                        ; +0x1fe, 0x1403cdcfe\nmov     rdx, r14                                                       ; +0x201, 0x1403cdd01\nmov     rcx, r15                                                       ; +0x204, 0x1403cdd04\ncall    InfoLayer__init                                                ; +0x207, 0x1403cdd07\nmov     rcx, r15                                                       ; +0x20c, 0x1403cdd0c\ntest    al, al                                                         ; +0x20f, 0x1403cdd0f\njz      short loc_1403CDD1E                                            ; +0x211, 0x1403cdd11\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x213, 0x1403cdd13\nmov     rax, r15                                                       ; +0x219, 0x1403cdd19\njmp     short loc_1403CDD2B                                            ; +0x21c, 0x1403cdd1c\nmov     rax, [r15]                                                     ; +0x21e, 0x1403cdd1e\nmov     edx, 1                                                         ; +0x221, 0x1403cdd21\ncall    qword ptr [rax+8]                                              ; +0x226, 0x1403cdd26\nxor     eax, eax                                                       ; +0x229, 0x1403cdd29\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x22b, 0x1403cdd2b\nmov     rbp, [rsp+58h+arg_8]                                           ; +0x230, 0x1403cdd30\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x235, 0x1403cdd35\nmov     rdi, [rsp+58h+arg_18]                                          ; +0x23a, 0x1403cdd3a\nadd     rsp, 40h                                                       ; +0x23f, 0x1403cdd3f\npop     r15                                                            ; +0x243, 0x1403cdd43\npop     r14                                                            ; +0x245, 0x1403cdd45\npop     r12                                                            ; +0x247, 0x1403cdd47\nretn                                                                   ; +0x249, 0x1403cdd49", "xrefs": ["AccountReviewPopup::onNotes @ 0x1400b9a89", "AccountReviewPopup::onCommentHistory @ 0x1400b9b16", "EditorSoundConfigInfoLayer::onInfo @ 0x140195b9c", "InfoLayer::reloadWindow @ 0x1403d28e3", "LevelInfoLayer::onInfo @ 0x14042265c", "LevelListLayer::onInfo @ 0x14042f8eb", "PauseLayer::onSideButtonPressed @ 0x1404d966f", "ProfilePage::onCommentHistory @ 0x140556ae8", "ProfilePage::onModNotes @ 0x1405579f8", "<???> @ 0x140924650"], "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"}