{"type": "func", "start": 5370179600, "end": 5370179906, "name": "NewgroundsInfoLayer::onArtists", "pseudocode": "// \n// NewgroundsInfoLayer::onArtists from 0x140167010 to 0x140167142 (306 bytes)\n// \n// 2 xrefs:\n// > NewgroundsInfoLayer::init @ 0x140166c34\n// > <???> @ 0x140917f6c\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:27:27 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall NewgroundsInfoLayer::onArtists(__int64 a1)\n{\n  _QWORD *v2; // rbx\n\n  v2 = operator new(0x2F0u);\n  FLAlertLayer::FLAlertLayer((__int64)v2);\n  *v2 = &TopArtistsLayer::`vftable';\n  v2[40] = &TopArtistsLayer::`vftable';\n  v2[41] = &TopArtistsLayer::`vftable';\n  v2[42] = &TopArtistsLayer::`vftable';\n  v2[43] = &TopArtistsLayer::`vftable';\n  v2[44] = &TopArtistsLayer::`vftable';\n  v2[51] = &TopArtistsLayer::`vftable';\n  v2[54] = &TopArtistsLayer::`vftable';\n  v2[68] = &TopArtistsLayer::`vftable';\n  v2[83] = &TopArtistsLayer::`vftable';\n  v2[84] = 0;\n  v2[85] = 0;\n  v2[86] = 0;\n  *((_DWORD *)v2 + 186) = 0;\n  if ( (unsigned __int8)TopArtistsLayer::init(v2) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, 1);\n    v2 = nullptr;\n  }\n  return (*(__int64 (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v2, 100);\n}", "assembly": "; \n; NewgroundsInfoLayer::onArtists from 0x140167010 to 0x140167142 (306 bytes)\n; \n; 2 xrefs:\n; > NewgroundsInfoLayer::init @ 0x140166c34\n; > <???> @ 0x140917f6c\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:27:27 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140167010\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x140167015\npush    rdi                                                            ; +0xa, 0x14016701a\nsub     rsp, 20h                                                       ; +0xb, 0x14016701b\nmov     rdi, rcx                                                       ; +0xf, 0x14016701f\nmov     ecx, 2F0h; Size                                                ; +0x12, 0x140167022\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x140167027\nmov     rbx, rax                                                       ; +0x1c, 0x14016702c\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x14016702f\nmov     rcx, rax                                                       ; +0x24, 0x140167034\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x27, 0x140167037\nlea     rax, ??_7TopArtistsLayer@@6B@; const TopArtistsLayer::`vftable' ; +0x2c, 0x14016703c\nmov     [rbx], rax                                                     ; +0x33, 0x140167043\nlea     rax, ??_7TopArtistsLayer@@6B@_0; const TopArtistsLayer::`vftable' ; +0x36, 0x140167046\nmov     [rbx+140h], rax                                                ; +0x3d, 0x14016704d\nlea     rax, ??_7TopArtistsLayer@@6B@_1; const TopArtistsLayer::`vftable' ; +0x44, 0x140167054\nmov     [rbx+148h], rax                                                ; +0x4b, 0x14016705b\nlea     rax, ??_7TopArtistsLayer@@6B@_2; const TopArtistsLayer::`vftable' ; +0x52, 0x140167062\nmov     [rbx+150h], rax                                                ; +0x59, 0x140167069\nlea     rax, ??_7TopArtistsLayer@@6B@_3; const TopArtistsLayer::`vftable' ; +0x60, 0x140167070\nmov     [rbx+158h], rax                                                ; +0x67, 0x140167077\nlea     rax, ??_7TopArtistsLayer@@6B@_4; const TopArtistsLayer::`vftable' ; +0x6e, 0x14016707e\nmov     [rbx+160h], rax                                                ; +0x75, 0x140167085\nlea     rax, ??_7TopArtistsLayer@@6B@_5; const TopArtistsLayer::`vftable' ; +0x7c, 0x14016708c\nmov     [rbx+198h], rax                                                ; +0x83, 0x140167093\nlea     rax, ??_7TopArtistsLayer@@6B@_6; const TopArtistsLayer::`vftable' ; +0x8a, 0x14016709a\nmov     [rbx+1B0h], rax                                                ; +0x91, 0x1401670a1\nlea     rax, ??_7TopArtistsLayer@@6B@_7; const TopArtistsLayer::`vftable' ; +0x98, 0x1401670a8\nmov     [rbx+220h], rax                                                ; +0x9f, 0x1401670af\nlea     rax, ??_7TopArtistsLayer@@6B@_8; const TopArtistsLayer::`vftable' ; +0xa6, 0x1401670b6\nmov     [rbx+298h], rax                                                ; +0xad, 0x1401670bd\nxor     esi, esi                                                       ; +0xb4, 0x1401670c4\nmov     [rbx+2A0h], rsi                                                ; +0xb6, 0x1401670c6\nmov     [rbx+2A8h], rsi                                                ; +0xbd, 0x1401670cd\nmov     [rbx+2B0h], rsi                                                ; +0xc4, 0x1401670d4\nmov     [rbx+2E8h], esi                                                ; +0xcb, 0x1401670db\nmov     rax, cs:off_1408336F8                                          ; +0xd1, 0x1401670e1\nlea     rcx, TopArtistsLayer__init                                     ; +0xd8, 0x1401670e8\ncmp     rax, rcx                                                       ; +0xdf, 0x1401670ef\nmov     rcx, rbx                                                       ; +0xe2, 0x1401670f2\njnz     short loc_1401670FE                                            ; +0xe5, 0x1401670f5\ncall    TopArtistsLayer__init                                          ; +0xe7, 0x1401670f7\njmp     short loc_140167100                                            ; +0xec, 0x1401670fc\ncall    rax ; TopArtistsLayer__init                                    ; +0xee, 0x1401670fe\nmov     rcx, rbx                                                       ; +0xf0, 0x140167100\ntest    al, al                                                         ; +0xf3, 0x140167103\njz      short loc_14016710F                                            ; +0xf5, 0x140167105\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xf7, 0x140167107\njmp     short loc_14016711D                                            ; +0xfd, 0x14016710d\nmov     rax, [rbx]                                                     ; +0xff, 0x14016710f\nmov     edx, 1                                                         ; +0x102, 0x140167112\ncall    qword ptr [rax+8]                                              ; +0x107, 0x140167117\nmov     rbx, rsi                                                       ; +0x10a, 0x14016711a\nmov     rax, [rdi]                                                     ; +0x10d, 0x14016711d\nmov     r8d, 64h ; 'd'                                                 ; +0x110, 0x140167120\nmov     rdx, rbx                                                       ; +0x116, 0x140167126\nmov     rcx, rdi                                                       ; +0x119, 0x140167129\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x11c, 0x14016712c\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x121, 0x140167131\nadd     rsp, 20h                                                       ; +0x126, 0x140167136\npop     rdi                                                            ; +0x12a, 0x14016713a\njmp     qword ptr [rax+1C8h]                                           ; +0x12b, 0x14016713b", "xrefs": ["NewgroundsInfoLayer::init @ 0x140166c34", "<???> @ 0x140917f6c"], "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"}