{"type": "func", "start": 5369520016, "end": 5369520308, "name": "NewgroundsInfoLayer::onArtists", "pseudocode": "// \n// NewgroundsInfoLayer::onArtists from 0x1400c5f90 to 0x1400c60b4 (292 bytes)\n// \n// 2 xrefs:\n// > NewgroundsInfoLayer::init @ 0x1400c5b1c\n// > <???> @ 0x1406c8160\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=1\nvoid NewgroundsInfoLayer::onArtists(NewgroundsInfoLayer *a1, cocos2d::CCObject *a2)\n{\n  TopArtistsLayer *v3; // rbx\n\n  v3 = (TopArtistsLayer *)operator new(0x2D0u);\n  FLAlertLayer::FLAlertLayer(v3);\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (TopArtistsLayer_vtbl *)&TopArtistsLayer::`vftable';\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&TopArtistsLayer::`vftable';\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&TopArtistsLayer::`vftable';\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&TopArtistsLayer::`vftable';\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&TopArtistsLayer::`vftable';\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&TopArtistsLayer::`vftable';\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&TopArtistsLayer::`vftable';\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&TopArtistsLayer::`vftable';\n  v3->OnlineListDelegate::__vftable = (OnlineListDelegate_vtbl *)&TopArtistsLayer::`vftable';\n  v3->m_topArtists = nullptr;\n  v3->m_listLayer = nullptr;\n  v3->m_loadingCircle = nullptr;\n  v3->m_page = 0;\n  if ( TopArtistsLayer::init(v3) )\n  {\n    cocos2d::CCObject::autorelease(v3);\n  }\n  else\n  {\n    ((void (__fastcall *)(TopArtistsLayer *, __int64))v3->~TopArtistsLayer)(v3, 1);\n    v3 = nullptr;\n  }\n  a1->addChild_0(a1, v3, 100);\n}", "assembly": "; \n; NewgroundsInfoLayer::onArtists from 0x1400c5f90 to 0x1400c60b4 (292 bytes)\n; \n; 2 xrefs:\n; > NewgroundsInfoLayer::init @ 0x1400c5b1c\n; > <???> @ 0x1406c8160\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     [rsp+arg_8], rbx                                               ; +0x0, 0x1400c5f90\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1400c5f95\npush    rdi                                                            ; +0xa, 0x1400c5f9a\nsub     rsp, 20h                                                       ; +0xb, 0x1400c5f9b\nmov     rdi, rcx                                                       ; +0xf, 0x1400c5f9f\nmov     ecx, 2D0h; Size                                                ; +0x12, 0x1400c5fa2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x1400c5fa7\nmov     rbx, rax                                                       ; +0x1c, 0x1400c5fac\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x1400c5faf\nmov     rcx, rax                                                       ; +0x24, 0x1400c5fb4\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x27, 0x1400c5fb7\nlea     rax, ??_7TopArtistsLayer@@6B@; const TopArtistsLayer::`vftable' ; +0x2c, 0x1400c5fbc\nmov     [rbx], rax                                                     ; +0x33, 0x1400c5fc3\nlea     rax, ??_7TopArtistsLayer@@6B@_0; const TopArtistsLayer::`vftable' ; +0x36, 0x1400c5fc6\nmov     [rbx+140h], rax                                                ; +0x3d, 0x1400c5fcd\nlea     rax, ??_7TopArtistsLayer@@6B@_1; const TopArtistsLayer::`vftable' ; +0x44, 0x1400c5fd4\nmov     [rbx+148h], rax                                                ; +0x4b, 0x1400c5fdb\nlea     rax, ??_7TopArtistsLayer@@6B@_2; const TopArtistsLayer::`vftable' ; +0x52, 0x1400c5fe2\nmov     [rbx+150h], rax                                                ; +0x59, 0x1400c5fe9\nlea     rax, ??_7TopArtistsLayer@@6B@_3; const TopArtistsLayer::`vftable' ; +0x60, 0x1400c5ff0\nmov     [rbx+158h], rax                                                ; +0x67, 0x1400c5ff7\nlea     rax, ??_7TopArtistsLayer@@6B@_4; const TopArtistsLayer::`vftable' ; +0x6e, 0x1400c5ffe\nmov     [rbx+160h], rax                                                ; +0x75, 0x1400c6005\nlea     rax, ??_7TopArtistsLayer@@6B@_5; const TopArtistsLayer::`vftable' ; +0x7c, 0x1400c600c\nmov     [rbx+198h], rax                                                ; +0x83, 0x1400c6013\nlea     rax, ??_7TopArtistsLayer@@6B@_6; const TopArtistsLayer::`vftable' ; +0x8a, 0x1400c601a\nmov     [rbx+1B0h], rax                                                ; +0x91, 0x1400c6021\nlea     rax, ??_7TopArtistsLayer@@6B@_7; const TopArtistsLayer::`vftable' ; +0x98, 0x1400c6028\nmov     [rbx+278h], rax                                                ; +0x9f, 0x1400c602f\nxor     esi, esi                                                       ; +0xa6, 0x1400c6036\nmov     [rbx+280h], rsi                                                ; +0xa8, 0x1400c6038\nmov     [rbx+288h], rsi                                                ; +0xaf, 0x1400c603f\nmov     [rbx+290h], rsi                                                ; +0xb6, 0x1400c6046\nmov     [rbx+2C8h], esi                                                ; +0xbd, 0x1400c604d\nmov     rax, cs:off_1406214C0                                          ; +0xc3, 0x1400c6053\nlea     rcx, TopArtistsLayer__init                                     ; +0xca, 0x1400c605a\ncmp     rax, rcx                                                       ; +0xd1, 0x1400c6061\nmov     rcx, rbx                                                       ; +0xd4, 0x1400c6064\njnz     short loc_1400C6070                                            ; +0xd7, 0x1400c6067\ncall    TopArtistsLayer__init                                          ; +0xd9, 0x1400c6069\njmp     short loc_1400C6072                                            ; +0xde, 0x1400c606e\ncall    rax ; TopArtistsLayer__init                                    ; +0xe0, 0x1400c6070\nmov     rcx, rbx                                                       ; +0xe2, 0x1400c6072\ntest    al, al                                                         ; +0xe5, 0x1400c6075\njz      short loc_1400C6081                                            ; +0xe7, 0x1400c6077\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xe9, 0x1400c6079\njmp     short loc_1400C608F                                            ; +0xef, 0x1400c607f\nmov     rax, [rbx]                                                     ; +0xf1, 0x1400c6081\nmov     edx, 1                                                         ; +0xf4, 0x1400c6084\ncall    qword ptr [rax+8]                                              ; +0xf9, 0x1400c6089\nmov     rbx, rsi                                                       ; +0xfc, 0x1400c608c\nmov     rax, [rdi]                                                     ; +0xff, 0x1400c608f\nmov     r8d, 64h ; 'd'                                                 ; +0x102, 0x1400c6092\nmov     rdx, rbx                                                       ; +0x108, 0x1400c6098\nmov     rcx, rdi                                                       ; +0x10b, 0x1400c609b\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x10e, 0x1400c609e\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x113, 0x1400c60a3\nadd     rsp, 20h                                                       ; +0x118, 0x1400c60a8\npop     rdi                                                            ; +0x11c, 0x1400c60ac\njmp     qword ptr [rax+1B8h]                                           ; +0x11d, 0x1400c60ad", "xrefs": ["NewgroundsInfoLayer::init @ 0x1400c5b1c", "<???> @ 0x1406c8160"], "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"}