{"type": "func", "start": 4297155824, "end": 4297156051, "name": "CustomSongLayer::show", "pseudocode": "// \n// CustomSongLayer::show from 0x1002164f0 to 0x1002165d3 (227 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008de028\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 __fastcall CustomSongLayer::show(CustomSongLayer *a1)\n{\n  unsigned __int8 v2; // r14\n  cocos2d::CCScaleTo *v3; // rax\n  cocos2d::CCEaseElasticOut *v4; // rax\n  cocos2d::CCScene *m_pRunningScene; // rdi\n  cocos2d::CCNode *m_scene; // rax\n  cocos2d::CCFadeTo *v7; // rax\n\n  v2 = ((__int64 (__fastcall *)(CustomSongLayer *))a1->getOpacity)(a1);\n  ((void (__fastcall *)(cocos2d::CCLayer *, float))a1->m_mainLayer->setScale)(a1->m_mainLayer, 0.1);\n  v3 = cocos2d::CCScaleTo::create_1(0.30000001, 1.0);\n  v4 = cocos2d::CCEaseElasticOut::create(v3, 1.6);\n  cocos2d::CCNode::runAction(a1->m_mainLayer, v4);\n  m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene;\n  m_scene = a1->m_scene;\n  if ( !a1->m_ZOrder )\n    a1->m_ZOrder = 105;\n  if ( m_scene )\n    m_pRunningScene = (cocos2d::CCScene *)m_scene;\n  ((void (__fastcall *)(cocos2d::CCScene *, CustomSongLayer *))m_pRunningScene->addChild_0)(m_pRunningScene, a1);\n  ((void (__fastcall *)(CustomSongLayer *, _QWORD))a1->setOpacity)(a1, 0);\n  v7 = cocos2d::CCFadeTo::create(0.14, v2);\n  cocos2d::CCNode::runAction(a1, v7);\n  ((void (__fastcall *)(CustomSongLayer *, __int64))a1->setVisible)(a1, 1);\n}", "assembly": "; \n; CustomSongLayer::show from 0x1002164f0 to 0x1002165d3 (227 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008de028\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\npush    rbp                                                            ; +0x0, 0x1002164f0\nmov     rbp, rsp                                                       ; +0x1, 0x1002164f1\npush    r14                                                            ; +0x4, 0x1002164f4\npush    rbx                                                            ; +0x6, 0x1002164f6\nmov     rbx, rdi                                                       ; +0x7, 0x1002164f7\nmov     rax, [rdi]                                                     ; +0xa, 0x1002164fa\ncall    qword ptr [rax+470h]                                           ; +0xd, 0x1002164fd\nmov     r14d, eax                                                      ; +0x13, 0x100216503\nmov     rdi, [rbx+240h]                                                ; +0x16, 0x100216506\nmov     rax, [rdi]                                                     ; +0x1d, 0x10021650d\nmovss   xmm0, cs:dword_100815058                                       ; +0x20, 0x100216510\ncall    qword ptr [rax+0A0h]                                           ; +0x28, 0x100216518\nmovss   xmm0, cs:dword_100815420                                       ; +0x2e, 0x10021651e\nmovss   xmm1, cs:alpha                                                 ; +0x36, 0x100216526\ncall    cocos2d__CCScaleTo__create_1                                   ; +0x3e, 0x10021652e\nmovss   xmm0, cs:dword_10081688C                                       ; +0x43, 0x100216533\nmov     rdi, rax                                                       ; +0x4b, 0x10021653b\ncall    cocos2d__CCEaseElasticOut__create                              ; +0x4e, 0x10021653e\nmov     rdi, [rbx+240h]                                                ; +0x53, 0x100216543\nmov     rsi, rax                                                       ; +0x5a, 0x10021654a\ncall    cocos2d__CCNode__runAction                                     ; +0x5d, 0x10021654d\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x62, 0x100216552\nmov     rdi, [rax+108h]                                                ; +0x67, 0x100216557\nmov     rax, [rbx+230h]                                                ; +0x6e, 0x10021655e\nmov     edx, [rbx+248h]                                                ; +0x75, 0x100216565\ntest    edx, edx                                                       ; +0x7b, 0x10021656b\njnz     short loc_10021657E                                            ; +0x7d, 0x10021656d\nmov     dword ptr [rbx+248h], 69h ; 'i'                                ; +0x7f, 0x10021656f\nmov     edx, 69h ; 'i'                                                 ; +0x89, 0x100216579\ntest    rax, rax                                                       ; +0x8e, 0x10021657e\ncmovnz  rdi, rax                                                       ; +0x91, 0x100216581\nmov     rax, [rdi]                                                     ; +0x95, 0x100216585\nmov     rsi, rbx                                                       ; +0x98, 0x100216588\ncall    qword ptr [rax+1C0h]                                           ; +0x9b, 0x10021658b\nmov     rax, [rbx]                                                     ; +0xa1, 0x100216591\nmov     rdi, rbx                                                       ; +0xa4, 0x100216594\nxor     esi, esi                                                       ; +0xa7, 0x100216597\ncall    qword ptr [rax+480h]                                           ; +0xa9, 0x100216599\nmovzx   edi, r14b                                                      ; +0xaf, 0x10021659f\nmovss   xmm0, cs:dword_100817A50                                       ; +0xb3, 0x1002165a3\ncall    cocos2d__CCFadeTo__create                                      ; +0xbb, 0x1002165ab\nmov     rdi, rbx                                                       ; +0xc0, 0x1002165b0\nmov     rsi, rax                                                       ; +0xc3, 0x1002165b3\ncall    cocos2d__CCNode__runAction                                     ; +0xc6, 0x1002165b6\nmov     rax, [rbx]                                                     ; +0xcb, 0x1002165bb\nmov     rax, [rax+148h]                                                ; +0xce, 0x1002165be\nmov     rdi, rbx                                                       ; +0xd5, 0x1002165c5\nmov     esi, 1                                                         ; +0xd8, 0x1002165c8\npop     rbx                                                            ; +0xdd, 0x1002165cd\npop     r14                                                            ; +0xde, 0x1002165ce\npop     rbp                                                            ; +0xe0, 0x1002165d0\njmp     rax                                                            ; +0xe1, 0x1002165d1", "xrefs": ["<???> @ 0x1008de028"], "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"}