{"type": "func", "start": 4298077784, "end": 4298077972, "name": "EndLevelLayer::onHideLayer", "pseudocode": "// \n// EndLevelLayer::onHideLayer from 0x1002f7658 to 0x1002f7714 (188 bytes)\n// \n// 1 xrefs:\n// > EndLevelLayer::customSetup @ 0x1002f67d0\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 EndLevelLayer::onHideLayer(EndLevelLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // x8\n  cocos2d::CCMoveTo *v4; // x0\n  cocos2d::CCEaseInOut *v5; // x20\n  unsigned __int8 v6; // w0\n  cocos2d::CCFadeTo *v7; // x20\n\n  a1->m_hidden ^= 1u;\n  cocos2d::CCNode::stopActionByTag(a1->m_mainLayer, 12341);\n  cocos2d::CCNode::stopActionByTag(a1, 12341);\n  v3 = 544;\n  if ( a1->m_hidden )\n    v3 = 552;\n  v4 = cocos2d::CCMoveTo::create(1.0, (const cocos2d::CCPoint *)((char *)a1 + v3));\n  v5 = cocos2d::CCEaseInOut::create(v4, 2.0);\n  ((void (__fastcall *)(cocos2d::CCEaseInOut *, __int64))v5->setTag)(v5, 12341);\n  cocos2d::CCNode::runAction(a1->m_mainLayer, v5);\n  if ( a1->m_hidden )\n    v6 = 0;\n  else\n    v6 = 100;\n  v7 = cocos2d::CCFadeTo::create(1.0, v6);\n  ((void (__fastcall *)(cocos2d::CCFadeTo *, __int64))v7->setTag)(v7, 12341);\n  cocos2d::CCNode::runAction(a1, v7);\n}", "assembly": "; \n; EndLevelLayer::onHideLayer from 0x1002f7658 to 0x1002f7714 (188 bytes)\n; \n; 1 xrefs:\n; > EndLevelLayer::customSetup @ 0x1002f67d0\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002f7658\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002f765c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002f7660\nMOV             X19, X0                                                ; +0xc, 0x1002f7664\nLDRB            W8, [X0,#0x2A9]                                        ; +0x10, 0x1002f7668\nEOR             W8, W8, #1                                             ; +0x14, 0x1002f766c\nSTRB            W8, [X0,#0x2A9]                                        ; +0x18, 0x1002f7670\nLDR             X0, [X0,#0x240]                                        ; +0x1c, 0x1002f7674\nMOV             W1, #0x3035                                            ; +0x20, 0x1002f7678\nBL              cocos2d__CCNode__stopActionByTag                       ; +0x24, 0x1002f767c\nMOV             X0, X19                                                ; +0x28, 0x1002f7680\nMOV             W1, #0x3035                                            ; +0x2c, 0x1002f7684\nBL              cocos2d__CCNode__stopActionByTag                       ; +0x30, 0x1002f7688\nLDRB            W8, [X19,#0x2A9]                                       ; +0x34, 0x1002f768c\nCMP             W8, #0                                                 ; +0x38, 0x1002f7690\nMOV             W8, #0x220                                             ; +0x3c, 0x1002f7694\nMOV             W9, #0x228                                             ; +0x40, 0x1002f7698\nCSEL            X8, X9, X8, NE                                         ; +0x44, 0x1002f769c\nFMOV            S0, #1.0                                               ; +0x48, 0x1002f76a0\nADD             X0, X19, X8                                            ; +0x4c, 0x1002f76a4\nBL              cocos2d__CCMoveTo__create                              ; +0x50, 0x1002f76a8\nFMOV            S0, #2.0                                               ; +0x54, 0x1002f76ac\nBL              cocos2d__CCEaseInOut__create                           ; +0x58, 0x1002f76b0\nMOV             X20, X0                                                ; +0x5c, 0x1002f76b4\nLDR             X8, [X0]                                               ; +0x60, 0x1002f76b8\nLDR             X8, [X8,#0x48]                                         ; +0x64, 0x1002f76bc\nMOV             W1, #0x3035                                            ; +0x68, 0x1002f76c0\nBLR             X8                                                     ; +0x6c, 0x1002f76c4\nLDR             X0, [X19,#0x240]                                       ; +0x70, 0x1002f76c8\nMOV             X1, X20                                                ; +0x74, 0x1002f76cc\nBL              cocos2d__CCNode__runAction                             ; +0x78, 0x1002f76d0\nLDRB            W8, [X19,#0x2A9]                                       ; +0x7c, 0x1002f76d4\nCMP             W8, #0                                                 ; +0x80, 0x1002f76d8\nMOV             W8, #0x64 ; 'd'                                        ; +0x84, 0x1002f76dc\nCSEL            W0, WZR, W8, NE                                        ; +0x88, 0x1002f76e0\nFMOV            S0, #1.0                                               ; +0x8c, 0x1002f76e4\nBL              cocos2d__CCFadeTo__create                              ; +0x90, 0x1002f76e8\nMOV             X20, X0                                                ; +0x94, 0x1002f76ec\nLDR             X8, [X0]                                               ; +0x98, 0x1002f76f0\nLDR             X8, [X8,#0x48]                                         ; +0x9c, 0x1002f76f4\nMOV             W1, #0x3035                                            ; +0xa0, 0x1002f76f8\nBLR             X8                                                     ; +0xa4, 0x1002f76fc\nMOV             X0, X19                                                ; +0xa8, 0x1002f7700\nMOV             X1, X20                                                ; +0xac, 0x1002f7704\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xb0, 0x1002f7708\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xb4, 0x1002f770c\nB               cocos2d__CCNode__runAction                             ; +0xb8, 0x1002f7710", "xrefs": ["EndLevelLayer::customSetup @ 0x1002f67d0"], "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"}