{"type": "func", "start": 4579660, "end": 4579800, "name": "CustomSongLayer::show", "pseudocode": "// \n// CustomSongLayer::show from 0x45e14c to 0x45e1d8 (140 bytes)\n// \n// 0 xrefs:\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 CustomSongLayer::show(CustomSongLayer *a1)\n{\n  unsigned __int8 v2; // r5\n  float v3; // r2\n  cocos2d::CCEaseElasticOut *v4; // r0\n  float v5; // r2\n  cocos2d::CCAction *v6; // r0\n  cocos2d::CCScene *m_pRunningScene; // r0\n  cocos2d::CCFadeTo *v8; // r0\n\n  v2 = a1->getOpacity(a1);\n  ((void (__fastcall *)(cocos2d::CCLayer *, int))a1->m_mainLayer->setScale)(a1->m_mainLayer, 1036831949);\n  v4 = (cocos2d::CCEaseElasticOut *)cocos2d::CCScaleTo::create((cocos2d::CCScaleTo *)0x3E99999A, 1.0, v3);\n  v6 = (cocos2d::CCAction *)cocos2d::CCEaseElasticOut::create(v4, (cocos2d::CCActionInterval *)0x3FCCCCCD, v5);\n  cocos2d::CCNode::runAction(a1->m_mainLayer, v6);\n  m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene;\n  if ( a1->m_scene )\n    m_pRunningScene = (cocos2d::CCScene *)a1->m_scene;\n  if ( !a1->m_ZOrder )\n    a1->m_ZOrder = 105;\n  m_pRunningScene->addChild_0(m_pRunningScene, a1, a1->m_ZOrder);\n  a1->setOpacity(a1, 0);\n  v8 = cocos2d::CCFadeTo::create(0.14, v2);\n  cocos2d::CCNode::runAction(a1, v8);\n  a1->setVisible(a1, 1);\n}", "assembly": "; \n; CustomSongLayer::show from 0x45e14c to 0x45e1d8 (140 bytes)\n; \n; 0 xrefs:\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\nLDR             R3, [R0]                                               ; +0x0, 0x45e14c\nPUSH            {R4-R6,LR}                                             ; +0x2, 0x45e14e\nMOV             R4, R0                                                 ; +0x4, 0x45e150\nLDR.W           R3, [R3,#0x238]                                        ; +0x6, 0x45e152\nBLX             R3                                                     ; +0xa, 0x45e156\nLDR             R1, =0x3DCCCCCD                                        ; +0xc, 0x45e158\nMOV             R5, R0                                                 ; +0xe, 0x45e15a\nLDR.W           R0, [R4,#0x1C8]                                        ; +0x10, 0x45e15c\nLDR             R3, [R0]                                               ; +0x14, 0x45e160\nLDR             R3, [R3,#0x50]                                         ; +0x16, 0x45e162\nBLX             R3                                                     ; +0x18, 0x45e164\nMOV.W           R1, #0x3F800000; float                                 ; +0x1a, 0x45e166\nLDR             R0, =0x3E99999A; this                                  ; +0x1e, 0x45e16a\nBL              _ZN7cocos2d9CCScaleTo6createEff; cocos2d::CCScaleTo::create(float,float) ; +0x20, 0x45e16c\nLDR             R1, =0x3FCCCCCD; cocos2d::CCActionInterval *           ; +0x24, 0x45e170\nBL              _ZN7cocos2d16CCEaseElasticOut6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseElasticOut::create(cocos2d::CCActionInterval *,float) ; +0x26, 0x45e172\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x2a, 0x45e176\nLDR.W           R0, [R4,#0x1C8]; this                                  ; +0x2c, 0x45e178\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x30, 0x45e17c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x34, 0x45e180\nLDR.W           R3, [R4,#0x1C0]                                        ; +0x38, 0x45e184\nLDR.W           R0, [R0,#0xCC]                                         ; +0x3c, 0x45e188\nCMP             R3, #0                                                 ; +0x40, 0x45e18c\nIT NE                                                                  ; +0x42, 0x45e18e\nMOVNE           R0, R3                                                 ; +0x44, 0x45e190\nLDR.W           R3, [R4,#0x1CC]                                        ; +0x46, 0x45e192\nCBNZ            R3, loc_45E19E                                         ; +0x4a, 0x45e196\nMOVS            R3, #0x69 ; 'i'                                        ; +0x4c, 0x45e198\nSTR.W           R3, [R4,#0x1CC]                                        ; +0x4e, 0x45e19a\nLDR             R3, [R0]                                               ; +0x52, 0x45e19e\nMOV             R1, R4                                                 ; +0x54, 0x45e1a0\nLDR.W           R2, [R4,#0x1CC]                                        ; +0x56, 0x45e1a2\nLDR.W           R3, [R3,#0xE0]                                         ; +0x5a, 0x45e1a6\nBLX             R3                                                     ; +0x5e, 0x45e1aa\nLDR             R3, [R4]                                               ; +0x60, 0x45e1ac\nMOV             R0, R4                                                 ; +0x62, 0x45e1ae\nMOVS            R1, #0                                                 ; +0x64, 0x45e1b0\nLDR.W           R3, [R3,#0x240]                                        ; +0x66, 0x45e1b2\nBLX             R3                                                     ; +0x6a, 0x45e1b6\nMOV             R1, R5; float                                          ; +0x6c, 0x45e1b8\nLDR             R0, =0x3E0F5C29; this                                  ; +0x6e, 0x45e1ba\nBL              _ZN7cocos2d8CCFadeTo6createEfh; cocos2d::CCFadeTo::create(float,uchar) ; +0x70, 0x45e1bc\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x74, 0x45e1c0\nMOV             R0, R4; this                                           ; +0x76, 0x45e1c2\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x78, 0x45e1c4\nLDR             R3, [R4]                                               ; +0x7c, 0x45e1c8\nMOV             R0, R4                                                 ; +0x7e, 0x45e1ca\nMOVS            R1, #1                                                 ; +0x80, 0x45e1cc\nPOP.W           {R4-R6,LR}                                             ; +0x82, 0x45e1ce\nLDR.W           R3, [R3,#0xA4]                                         ; +0x86, 0x45e1d2\nBX              R3                                                     ; +0x8a, 0x45e1d6", "xrefs": [], "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"}