; ; EndLevelLayer::showLayer from 0x140134ca0 to 0x140134e75 (469 bytes) ; ; 5 xrefs: ; > PlayLayer::showEndLayer @ 0x1403ac8dc ; > PlayLayer::showEndLayer @ 0x1403ac8bc ; > @ 0x140555478 ; > @ 0x1406c9ea0 ; > @ 0x1406c9eac ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rbx ; +0x0, 0x140134ca0 mov [rsp+arg_10], rbp ; +0x5, 0x140134ca5 mov [rsp+arg_18], rsi ; +0xa, 0x140134caa push rdi ; +0xf, 0x140134caf sub rsp, 30h ; +0x10, 0x140134cb0 movaps xmmword ptr [rsp+38h+var_18], xmm6 ; +0x14, 0x140134cb4 movzx ebp, dl ; +0x19, 0x140134cb9 mov rdi, rcx ; +0x1c, 0x140134cbc mov rcx, cs:qword_1406C2ED8 ; +0x1f, 0x140134cbf test rcx, rcx ; +0x26, 0x140134cc6 jnz short loc_140134CFA ; +0x29, 0x140134cc9 mov ecx, 668h; Size ; +0x2b, 0x140134ccb call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x30, 0x140134cd0 mov [rsp+38h+arg_0], rax ; +0x35, 0x140134cd5 mov rcx, rax ; +0x3a, 0x140134cda call sub_14017AB00 ; +0x3d, 0x140134cdd nop ; +0x42, 0x140134ce2 mov cs:qword_1406C2ED8, rax ; +0x43, 0x140134ce3 mov rdx, [rax] ; +0x4a, 0x140134cea mov rcx, rax ; +0x4d, 0x140134ced call qword ptr [rdx+48h] ; +0x50, 0x140134cf0 mov rcx, cs:qword_1406C2ED8 ; +0x53, 0x140134cf3 lea rdx, a0168; "0168" ; +0x5a, 0x140134cfa call GameManager__getGameVariable ; +0x61, 0x140134d01 movzx ebx, al ; +0x66, 0x140134d06 mov rcx, [rdi+240h] ; +0x69, 0x140134d09 call cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x70, 0x140134d10 mov rdx, [rdi] ; +0x76, 0x140134d16 mov rcx, rdi ; +0x79, 0x140134d19 call qword ptr [rdx+438h] ; +0x7c, 0x140134d1c lea rdx, [rdi+220h] ; +0x82, 0x140134d22 mov r9d, 1 ; +0x89, 0x140134d29 test bl, bl ; +0x8f, 0x140134d2f cmovz r9d, ebp ; +0x91, 0x140134d31 test r9b, r9b ; +0x95, 0x140134d35 jz short loc_140134D87 ; +0x98, 0x140134d38 mov rcx, [rdi+240h] ; +0x9a, 0x140134d3a mov rax, [rcx] ; +0xa1, 0x140134d41 call qword ptr [rax+0B8h] ; +0xa4, 0x140134d44 mov rax, [rdi+198h] ; +0xaa, 0x140134d4a mov dl, 64h ; 'd' ; +0xb1, 0x140134d51 lea rcx, [rdi+198h] ; +0xb3, 0x140134d53 call qword ptr [rax+28h] ; +0xba, 0x140134d5a mov rax, [rdi] ; +0xbd, 0x140134d5d mov rcx, rdi ; +0xc0, 0x140134d60 call qword ptr [rax+448h] ; +0xc3, 0x140134d63 xorps xmm6, xmm6 ; +0xc9, 0x140134d69 xorps xmm1, xmm1 ; +0xcc, 0x140134d6c mov rcx, rdi ; +0xcf, 0x140134d6f call EndLevelLayer__playStarEffect ; +0xd2, 0x140134d72 xorps xmm1, xmm1 ; +0xd7, 0x140134d77 mov rcx, rdi ; +0xda, 0x140134d7a call EndLevelLayer__playCoinEffect ; +0xdd, 0x140134d7d jmp loc_140134E46 ; +0xe2, 0x140134d82 movss xmm6, cs:flt_140622C24 ; +0xe7, 0x140134d87 movaps xmm0, xmm6 ; +0xef, 0x140134d8f call cs:?create@CCMoveTo@cocos2d@@SAPEAV12@MAEBVCCPoint@2@@Z; cocos2d::CCMoveTo::create(float,cocos2d::CCPoint const &) ; +0xf2, 0x140134d92 mov rcx, rax ; +0xf8, 0x140134d98 call cs:?create@CCEaseBounceOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCEaseBounceOut::create(cocos2d::CCActionInterval *) ; +0xfb, 0x140134d9b mov rbx, rax ; +0x101, 0x140134da1 lea rdx, sub_1401377B4 ; +0x104, 0x140134da4 mov rcx, rdi ; +0x10b, 0x140134dab call cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x10e, 0x140134dae xor r8d, r8d ; +0x114, 0x140134db4 mov rdx, rax ; +0x117, 0x140134db7 mov rcx, rbx ; +0x11a, 0x140134dba call cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x11d, 0x140134dbd mov rdx, rax ; +0x123, 0x140134dc3 mov rcx, [rdi+240h] ; +0x126, 0x140134dc6 call cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x12d, 0x140134dcd mov rax, [rdi+198h] ; +0x133, 0x140134dd3 xor edx, edx ; +0x13a, 0x140134dda lea rcx, [rdi+198h] ; +0x13c, 0x140134ddc call qword ptr [rax+28h] ; +0x143, 0x140134de3 mov dl, 64h ; 'd' ; +0x146, 0x140134de6 movaps xmm0, xmm6 ; +0x148, 0x140134de8 call cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0x14b, 0x140134deb mov rdx, rax ; +0x151, 0x140134df1 mov rcx, rdi ; +0x154, 0x140134df4 call cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x157, 0x140134df7 movss xmm6, cs:dword_140622B74 ; +0x15d, 0x140134dfd movaps xmm1, xmm6 ; +0x165, 0x140134e05 mov rcx, rdi ; +0x168, 0x140134e08 call EndLevelLayer__playCoinEffect ; +0x16b, 0x140134e0b mov rcx, [rdi+278h] ; +0x170, 0x140134e10 test rcx, rcx ; +0x177, 0x140134e17 jz short loc_140134E3B ; +0x17a, 0x140134e1a call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x17c, 0x140134e1c mov eax, eax ; +0x182, 0x140134e22 xorps xmm0, xmm0 ; +0x184, 0x140134e24 cvtsi2ss xmm0, rax ; +0x187, 0x140134e27 mulss xmm0, cs:dword_140622ABC ; +0x18c, 0x140134e2c addss xmm0, xmm6 ; +0x194, 0x140134e34 movaps xmm6, xmm0 ; +0x198, 0x140134e38 movaps xmm1, xmm6 ; +0x19b, 0x140134e3b mov rcx, rdi ; +0x19e, 0x140134e3e call EndLevelLayer__playStarEffect ; +0x1a1, 0x140134e41 movaps xmm1, xmm6 ; +0x1a6, 0x140134e46 mov rcx, rdi ; +0x1a9, 0x140134e49 call EndLevelLayer__playCurrencyEffect ; +0x1ac, 0x140134e4c movaps xmm1, xmm6 ; +0x1b1, 0x140134e51 mov rcx, rdi ; +0x1b4, 0x140134e54 mov rbx, [rsp+38h+arg_8] ; +0x1b7, 0x140134e57 mov rbp, [rsp+38h+arg_10] ; +0x1bc, 0x140134e5c mov rsi, [rsp+38h+arg_18] ; +0x1c1, 0x140134e61 movaps xmm6, xmmword ptr [rsp+38h+var_18] ; +0x1c6, 0x140134e66 add rsp, 30h ; +0x1cb, 0x140134e6b pop rdi ; +0x1cf, 0x140134e6f jmp EndLevelLayer__playDiamondEffect ; +0x1d0, 0x140134e70