{"type": "func", "start": 5746228, "end": 5746368, "name": "CustomSongLayer::show", "pseudocode": "// \n// CustomSongLayer::show from 0x57ae34 to 0x57aec0 (140 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:52:48 +0000\n// \n\nint __fastcall CustomSongLayer::show(CustomSongLayer *this)\n{\n  float v2; // r5\n  float v3; // r2\n  cocos2d::CCEaseElasticOut *v4; // r0\n  float v5; // r2\n  cocos2d::CCAction *v6; // r0\n  cocos2d::CCDirector *v7; // r0\n  int v8; // r0\n  unsigned __int8 v9; // r2\n  cocos2d::CCAction *v10; // r0\n\n  v2 = COERCE_FLOAT((*(int (__fastcall **)(CustomSongLayer *))(*(_DWORD *)this + 576))(this));\n  (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 115) + 80))(*((_DWORD *)this + 115), 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  v7 = (cocos2d::CCDirector *)cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 115), v6);\n  v8 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector(v7) + 220);\n  if ( *((_DWORD *)this + 113) )\n    v8 = *((_DWORD *)this + 113);\n  if ( !*((_DWORD *)this + 116) )\n    *((_DWORD *)this + 116) = 105;\n  (*(void (__fastcall **)(int, CustomSongLayer *, _DWORD))(*(_DWORD *)v8 + 232))(v8, this, *((_DWORD *)this + 116));\n  (*(void (__fastcall **)(CustomSongLayer *, _DWORD))(*(_DWORD *)this + 584))(this, 0);\n  v10 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3E0F5C29, v2, v9);\n  cocos2d::CCNode::runAction(this, v10);\n  return (*(int (__fastcall **)(CustomSongLayer *, int))(*(_DWORD *)this + 172))(this, 1);\n}", "assembly": "; \n; CustomSongLayer::show from 0x57ae34 to 0x57aec0 (140 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:52:48 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x57ae34\nMOV             R4, R0                                                 ; +0x2, 0x57ae36\nLDR             R3, [R0]                                               ; +0x4, 0x57ae38\nLDR.W           R3, [R3,#0x240]                                        ; +0x6, 0x57ae3a\nBLX             R3                                                     ; +0xa, 0x57ae3e\nLDR             R1, =0x3DCCCCCD                                        ; +0xc, 0x57ae40\nMOV             R5, R0                                                 ; +0xe, 0x57ae42\nLDR.W           R0, [R4,#0x1CC]                                        ; +0x10, 0x57ae44\nLDR             R3, [R0]                                               ; +0x14, 0x57ae48\nLDR             R3, [R3,#0x50]                                         ; +0x16, 0x57ae4a\nBLX             R3                                                     ; +0x18, 0x57ae4c\nMOV.W           R1, #0x3F800000; float                                 ; +0x1a, 0x57ae4e\nLDR             R0, =0x3E99999A; this                                  ; +0x1e, 0x57ae52\nBL              _ZN7cocos2d9CCScaleTo6createEff; cocos2d::CCScaleTo::create(float,float) ; +0x20, 0x57ae54\nLDR             R1, =0x3FCCCCCD; cocos2d::CCActionInterval *           ; +0x24, 0x57ae58\nBL              _ZN7cocos2d16CCEaseElasticOut6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseElasticOut::create(cocos2d::CCActionInterval *,float) ; +0x26, 0x57ae5a\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x2a, 0x57ae5e\nLDR.W           R0, [R4,#0x1CC]; this                                  ; +0x2c, 0x57ae60\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x30, 0x57ae64\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x34, 0x57ae68\nLDR.W           R3, [R4,#0x1C4]                                        ; +0x38, 0x57ae6c\nLDR.W           R0, [R0,#0xDC]                                         ; +0x3c, 0x57ae70\nCMP             R3, #0                                                 ; +0x40, 0x57ae74\nIT NE                                                                  ; +0x42, 0x57ae76\nMOVNE           R0, R3                                                 ; +0x44, 0x57ae78\nLDR.W           R3, [R4,#0x1D0]                                        ; +0x46, 0x57ae7a\nCBNZ            R3, loc_57AE86                                         ; +0x4a, 0x57ae7e\nMOVS            R3, #0x69 ; 'i'                                        ; +0x4c, 0x57ae80\nSTR.W           R3, [R4,#0x1D0]                                        ; +0x4e, 0x57ae82\nLDR             R3, [R0]                                               ; +0x52, 0x57ae86\nMOV             R1, R4                                                 ; +0x54, 0x57ae88\nLDR.W           R2, [R4,#0x1D0]                                        ; +0x56, 0x57ae8a\nLDR.W           R3, [R3,#0xE8]                                         ; +0x5a, 0x57ae8e\nBLX             R3                                                     ; +0x5e, 0x57ae92\nLDR             R3, [R4]                                               ; +0x60, 0x57ae94\nMOV             R0, R4                                                 ; +0x62, 0x57ae96\nMOVS            R1, #0                                                 ; +0x64, 0x57ae98\nLDR.W           R3, [R3,#0x248]                                        ; +0x66, 0x57ae9a\nBLX             R3                                                     ; +0x6a, 0x57ae9e\nMOV             R1, R5; float                                          ; +0x6c, 0x57aea0\nLDR             R0, =0x3E0F5C29; this                                  ; +0x6e, 0x57aea2\nBL              _ZN7cocos2d8CCFadeTo6createEfh; cocos2d::CCFadeTo::create(float,uchar) ; +0x70, 0x57aea4\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x74, 0x57aea8\nMOV             R0, R4; this                                           ; +0x76, 0x57aeaa\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x78, 0x57aeac\nLDR             R3, [R4]                                               ; +0x7c, 0x57aeb0\nMOV             R0, R4                                                 ; +0x7e, 0x57aeb2\nMOVS            R1, #1                                                 ; +0x80, 0x57aeb4\nPOP.W           {R4-R6,LR}                                             ; +0x82, 0x57aeb6\nLDR.W           R3, [R3,#0xAC]                                         ; +0x86, 0x57aeba\nBX              R3                                                     ; +0x8a, 0x57aebe", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}