{"type": "func", "start": 5371957680, "end": 5371957760, "name": "LevelSelectLayer::onDownload", "pseudocode": "// \n// LevelSelectLayer::onDownload from 0x1403191b0 to 0x140319200 (80 bytes)\n// \n// 2 xrefs:\n// > LevelSelectLayer::init @ 0x140318cc0\n// > <???> @ 0x1406d4a30\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\nvoid LevelSelectLayer::onDownload(LevelSelectLayer *a1, cocos2d::CCObject *a2)\n{\n  SongsLayer *v3; // rdi\n  cocos2d::CCNode *v4; // rax\n\n  v3 = SongsLayer::create();\n  v4 = a1->getParent(a1);\n  v4->addChild_0(v4, v3, 100);\n  v3->showLayer(v3, 0);\n}", "assembly": "; \n; LevelSelectLayer::onDownload from 0x1403191b0 to 0x140319200 (80 bytes)\n; \n; 2 xrefs:\n; > LevelSelectLayer::init @ 0x140318cc0\n; > <???> @ 0x1406d4a30\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_0], rbx                                               ; +0x0, 0x1403191b0\npush    rdi                                                            ; +0x5, 0x1403191b5\nsub     rsp, 20h                                                       ; +0x6, 0x1403191b6\nmov     rbx, rcx                                                       ; +0xa, 0x1403191ba\ncall    SongsLayer__create                                             ; +0xd, 0x1403191bd\nmov     rdx, [rbx]                                                     ; +0x12, 0x1403191c2\nmov     rcx, rbx                                                       ; +0x15, 0x1403191c5\nmov     rdi, rax                                                       ; +0x18, 0x1403191c8\ncall    qword ptr [rdx+1E8h]                                           ; +0x1b, 0x1403191cb\nmov     r8d, 64h ; 'd'                                                 ; +0x21, 0x1403191d1\nmov     rdx, rdi                                                       ; +0x27, 0x1403191d7\nmov     rcx, rax                                                       ; +0x2a, 0x1403191da\nmov     r9, [rax]                                                      ; +0x2d, 0x1403191dd\ncall    qword ptr [r9+1B8h]                                            ; +0x30, 0x1403191e0\nmov     r8, [rdi]                                                      ; +0x37, 0x1403191e7\nxor     edx, edx                                                       ; +0x3a, 0x1403191ea\nmov     rcx, rdi                                                       ; +0x3c, 0x1403191ec\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3f, 0x1403191ef\nadd     rsp, 20h                                                       ; +0x44, 0x1403191f4\npop     rdi                                                            ; +0x48, 0x1403191f8\njmp     qword ptr [r8+428h]                                            ; +0x49, 0x1403191f9", "xrefs": ["LevelSelectLayer::init @ 0x140318cc0", "<???> @ 0x1406d4a30"], "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"}