{"type": "func", "start": 5455676, "end": 5455812, "name": "EndLevelLayer::onHideLayer", "pseudocode": "// \n// EndLevelLayer::onHideLayer from 0x533f3c to 0x533fc4 (136 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:06 +0000\n// \n\nint __fastcall EndLevelLayer::onHideLayer(EndLevelLayer *this, cocos2d::CCObject *a2)\n{\n  const cocos2d::CCPoint *v3; // r2\n  char *v4; // r1\n  cocos2d::CCEaseInOut *v5; // r0\n  float v6; // r2\n  cocos2d::CCAction *v7; // r5\n  unsigned __int8 v8; // r2\n  float v9; // r1\n  cocos2d::CCAction *v10; // r5\n\n  *((_BYTE *)this + 541) ^= 1u;\n  cocos2d::CCNode::stopActionByTag(*((cocos2d::CCNode **)this + 116), 12341);\n  cocos2d::CCNode::stopActionByTag(this, 12341);\n  if ( *((_BYTE *)this + 541) )\n    v4 = (char *)this + 448;\n  else\n    v4 = (char *)this + 440;\n  v5 = (cocos2d::CCEaseInOut *)cocos2d::CCMoveTo::create((cocos2d::CCMoveTo *)0x3F800000, *(float *)&v4, v3);\n  v7 = (cocos2d::CCAction *)cocos2d::CCEaseInOut::create(v5, (cocos2d::CCActionInterval *)0x40000000, v6);\n  (*(void (__fastcall **)(cocos2d::CCAction *, int))(*(_DWORD *)v7 + 36))(v7, 12341);\n  cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 116), v7);\n  if ( *((_BYTE *)this + 541) )\n    v9 = 0.0;\n  else\n    LODWORD(v9) = 100;\n  v10 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3F800000, v9, v8);\n  (*(void (__fastcall **)(cocos2d::CCAction *, int))(*(_DWORD *)v10 + 36))(v10, 12341);\n  return cocos2d::CCNode::runAction(this, v10);\n}", "assembly": "; \n; EndLevelLayer::onHideLayer from 0x533f3c to 0x533fc4 (136 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:06 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x533f3c\nMOVW            R1, #0x3035; int                                       ; +0x2, 0x533f3e\nLDRB.W          R3, [R0,#0x21D]                                        ; +0x6, 0x533f42\nMOV             R4, R0                                                 ; +0xa, 0x533f46\nEOR.W           R3, R3, #1                                             ; +0xc, 0x533f48\nSTRB.W          R3, [R0,#0x21D]                                        ; +0x10, 0x533f4c\nLDR.W           R0, [R0,#0x1D0]; this                                  ; +0x14, 0x533f50\nBL              _ZN7cocos2d6CCNode15stopActionByTagEi; cocos2d::CCNode::stopActionByTag(int) ; +0x18, 0x533f54\nMOV             R0, R4; this                                           ; +0x1c, 0x533f58\nMOVW            R1, #0x3035; int                                       ; +0x1e, 0x533f5a\nBL              _ZN7cocos2d6CCNode15stopActionByTagEi; cocos2d::CCNode::stopActionByTag(int) ; +0x22, 0x533f5e\nLDRB.W          R3, [R4,#0x21D]                                        ; +0x26, 0x533f62\nCBZ             R3, loc_533F6E                                         ; +0x2a, 0x533f66\nADD.W           R1, R4, #0x1C0                                         ; +0x2c, 0x533f68\nB               loc_533F72                                             ; +0x30, 0x533f6c\nADD.W           R1, R4, #0x1B8; float                                  ; +0x32, 0x533f6e\nMOV.W           R0, #0x3F800000; this                                  ; +0x36, 0x533f72\nBL              _ZN7cocos2d8CCMoveTo6createEfRKNS_7CCPointE; cocos2d::CCMoveTo::create(float,cocos2d::CCPoint const&) ; +0x3a, 0x533f76\nMOV.W           R1, #0x40000000; cocos2d::CCActionInterval *           ; +0x3e, 0x533f7a\nBL              _ZN7cocos2d11CCEaseInOut6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseInOut::create(cocos2d::CCActionInterval *,float) ; +0x42, 0x533f7e\nMOVW            R1, #0x3035                                            ; +0x46, 0x533f82\nLDR             R3, [R0]                                               ; +0x4a, 0x533f86\nMOV             R5, R0                                                 ; +0x4c, 0x533f88\nLDR             R3, [R3,#0x24]                                         ; +0x4e, 0x533f8a\nBLX             R3                                                     ; +0x50, 0x533f8c\nMOV             R1, R5; cocos2d::CCAction *                            ; +0x52, 0x533f8e\nLDR.W           R0, [R4,#0x1D0]; this                                  ; +0x54, 0x533f90\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x58, 0x533f94\nLDRB.W          R3, [R4,#0x21D]                                        ; +0x5c, 0x533f98\nMOV.W           R0, #0x3F800000; this                                  ; +0x60, 0x533f9c\nCMP             R3, #0                                                 ; +0x64, 0x533fa0\nITE EQ                                                                 ; +0x66, 0x533fa2\nMOVEQ           R1, #0x64 ; 'd'                                        ; +0x68, 0x533fa4\nMOVNE           R1, #0; float                                          ; +0x6a, 0x533fa6\nBL              _ZN7cocos2d8CCFadeTo6createEfh; cocos2d::CCFadeTo::create(float,uchar) ; +0x6c, 0x533fa8\nMOVW            R1, #0x3035                                            ; +0x70, 0x533fac\nLDR             R3, [R0]                                               ; +0x74, 0x533fb0\nMOV             R5, R0                                                 ; +0x76, 0x533fb2\nLDR             R3, [R3,#0x24]                                         ; +0x78, 0x533fb4\nBLX             R3                                                     ; +0x7a, 0x533fb6\nMOV             R0, R4; this                                           ; +0x7c, 0x533fb8\nMOV             R1, R5; cocos2d::CCAction *                            ; +0x7e, 0x533fba\nPOP.W           {R3-R5,LR}                                             ; +0x80, 0x533fbc\nB.W             _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x84, 0x533fc0", "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"}