{"type": "func", "start": 5370832656, "end": 5370832882, "name": "EndLevelLayer::onHideLayer", "pseudocode": "// \n// EndLevelLayer::onHideLayer from 0x140206710 to 0x1402067f2 (226 bytes)\n// \n// 2 xrefs:\n// > EndLevelLayer::customSetup @ 0x1402051cf\n// > <???> @ 0x14091b1a0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:28:15 +0000\n// \n\nstruct cocos2d::CCAction *__fastcall EndLevelLayer::onHideLayer(__int64 a1)\n{\n  __int64 v2; // rdx\n  struct cocos2d::CCActionInterval *v3; // rax\n  struct cocos2d::CCAction *v4; // rbx\n  unsigned __int8 v5; // dl\n  struct cocos2d::CCAction *v6; // rbx\n\n  *(_BYTE *)(a1 + 681) = *(_BYTE *)(a1 + 681) == 0;\n  cocos2d::CCNode::stopActionByTag(*(cocos2d::CCNode **)(a1 + 576), 12341);\n  cocos2d::CCNode::stopActionByTag((cocos2d::CCNode *)a1, 12341);\n  v2 = 552;\n  if ( !*(_BYTE *)(a1 + 681) )\n    v2 = 544;\n  v3 = cocos2d::CCMoveTo::create(1.0, (const struct cocos2d::CCPoint *)(a1 + v2));\n  v4 = cocos2d::CCEaseInOut::create(v3, 2.0);\n  (*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v4 + 64LL))(v4, 12341);\n  cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(a1 + 576), v4);\n  v5 = 100;\n  if ( *(_BYTE *)(a1 + 681) )\n    v5 = 0;\n  v6 = cocos2d::CCFadeTo::create(1.0, v5);\n  (*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v6 + 64LL))(v6, 12341);\n  return cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v6);\n}", "assembly": "; \n; EndLevelLayer::onHideLayer from 0x140206710 to 0x1402067f2 (226 bytes)\n; \n; 2 xrefs:\n; > EndLevelLayer::customSetup @ 0x1402051cf\n; > <???> @ 0x14091b1a0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:28:15 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140206710\npush    rdi                                                            ; +0x5, 0x140206715\nsub     rsp, 20h                                                       ; +0x6, 0x140206716\ncmp     byte ptr [rcx+2A9h], 0                                         ; +0xa, 0x14020671a\nmov     rdi, rcx                                                       ; +0x11, 0x140206721\nmov     edx, 3035h                                                     ; +0x14, 0x140206724\nsetz    al                                                             ; +0x19, 0x140206729\nmov     [rcx+2A9h], al                                                 ; +0x1c, 0x14020672c\nmov     rcx, [rcx+240h]                                                ; +0x22, 0x140206732\ncall    cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x29, 0x140206739\nmov     edx, 3035h                                                     ; +0x2f, 0x14020673f\nmov     rcx, rdi                                                       ; +0x34, 0x140206744\ncall    cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x37, 0x140206747\ncmp     byte ptr [rdi+2A9h], 0                                         ; +0x3d, 0x14020674d\nmov     eax, 220h                                                      ; +0x44, 0x140206754\nmovss   xmm0, cs:flt_140835080                                         ; +0x49, 0x140206759\nmov     edx, 228h                                                      ; +0x51, 0x140206761\ncmovz   edx, eax                                                       ; +0x56, 0x140206766\nadd     rdx, rdi                                                       ; +0x59, 0x140206769\ncall    cs:?create@CCMoveTo@cocos2d@@SAPEAV12@MAEBVCCPoint@2@@Z; cocos2d::CCMoveTo::create(float,cocos2d::CCPoint const &) ; +0x5c, 0x14020676c\nmovss   xmm1, cs:width                                                 ; +0x62, 0x140206772\nmov     rcx, rax                                                       ; +0x6a, 0x14020677a\ncall    cs:?create@CCEaseInOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseInOut::create(cocos2d::CCActionInterval *,float) ; +0x6d, 0x14020677d\nmov     edx, 3035h                                                     ; +0x73, 0x140206783\nmov     rbx, rax                                                       ; +0x78, 0x140206788\nmov     rcx, [rax]                                                     ; +0x7b, 0x14020678b\nmov     r8, [rcx+40h]                                                  ; +0x7e, 0x14020678e\nmov     rcx, rax                                                       ; +0x82, 0x140206792\ncall    r8                                                             ; +0x85, 0x140206795\nmov     rcx, [rdi+240h]                                                ; +0x88, 0x140206798\nmov     rdx, rbx                                                       ; +0x8f, 0x14020679f\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x92, 0x1402067a2\nmovss   xmm0, cs:flt_140835080                                         ; +0x98, 0x1402067a8\nxor     eax, eax                                                       ; +0xa0, 0x1402067b0\ncmp     [rdi+2A9h], al                                                 ; +0xa2, 0x1402067b2\nmov     edx, 64h ; 'd'                                                 ; +0xa8, 0x1402067b8\ncmovnz  edx, eax                                                       ; +0xad, 0x1402067bd\ncall    cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0xb0, 0x1402067c0\nmov     edx, 3035h                                                     ; +0xb6, 0x1402067c6\nmov     rbx, rax                                                       ; +0xbb, 0x1402067cb\nmov     rcx, [rax]                                                     ; +0xbe, 0x1402067ce\nmov     r8, [rcx+40h]                                                  ; +0xc1, 0x1402067d1\nmov     rcx, rax                                                       ; +0xc5, 0x1402067d5\ncall    r8                                                             ; +0xc8, 0x1402067d8\nmov     rdx, rbx                                                       ; +0xcb, 0x1402067db\nmov     rcx, rdi                                                       ; +0xce, 0x1402067de\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xd1, 0x1402067e1\nadd     rsp, 20h                                                       ; +0xd6, 0x1402067e6\npop     rdi                                                            ; +0xda, 0x1402067ea\njmp     cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xdb, 0x1402067eb", "xrefs": ["EndLevelLayer::customSetup @ 0x1402051cf", "<???> @ 0x14091b1a0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}