{"type": "func", "start": 5373175120, "end": 5373175206, "name": "LevelSelectLayer::onDownload", "pseudocode": "// \n// LevelSelectLayer::onDownload from 0x140442550 to 0x1404425a6 (86 bytes)\n// \n// 2 xrefs:\n// > LevelSelectLayer::init @ 0x140441f8d\n// > <???> @ 0x1409270f8\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:32:22 +0000\n// \n\n__int64 __fastcall LevelSelectLayer::onDownload(__int64 a1)\n{\n  __int64 v2; // rdi\n  __int64 v3; // rax\n\n  v2 = SongsLayer::create();\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 504LL))(a1);\n  (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v3 + 456LL))(v3, v2, 100);\n  return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 1080LL))(v2, 0);\n}", "assembly": "; \n; LevelSelectLayer::onDownload from 0x140442550 to 0x1404425a6 (86 bytes)\n; \n; 2 xrefs:\n; > LevelSelectLayer::init @ 0x140441f8d\n; > <???> @ 0x1409270f8\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:32:22 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140442550\npush    rdi                                                            ; +0x5, 0x140442555\nsub     rsp, 20h                                                       ; +0x6, 0x140442556\nmov     rbx, rcx                                                       ; +0xa, 0x14044255a\ncall    SongsLayer__create                                             ; +0xd, 0x14044255d\nmov     rdx, [rbx]                                                     ; +0x12, 0x140442562\nmov     rcx, rbx                                                       ; +0x15, 0x140442565\nmov     rdi, rax                                                       ; +0x18, 0x140442568\ncall    qword ptr [rdx+1F8h]                                           ; +0x1b, 0x14044256b\nmov     r8d, 64h ; 'd'                                                 ; +0x21, 0x140442571\nmov     rdx, rdi                                                       ; +0x27, 0x140442577\nmov     rcx, [rax]                                                     ; +0x2a, 0x14044257a\nmov     r9, [rcx+1C8h]                                                 ; +0x2d, 0x14044257d\nmov     rcx, rax                                                       ; +0x34, 0x140442584\ncall    r9                                                             ; +0x37, 0x140442587\nmov     rcx, [rdi]                                                     ; +0x3a, 0x14044258a\nxor     edx, edx                                                       ; +0x3d, 0x14044258d\nmov     r8, [rcx+438h]                                                 ; +0x3f, 0x14044258f\nmov     rcx, rdi                                                       ; +0x46, 0x140442596\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x49, 0x140442599\nadd     rsp, 20h                                                       ; +0x4e, 0x14044259e\npop     rdi                                                            ; +0x52, 0x1404425a2\njmp     r8                                                             ; +0x53, 0x1404425a3", "xrefs": ["LevelSelectLayer::init @ 0x140441f8d", "<???> @ 0x1409270f8"], "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"}