// // EndLevelLayer::playCoinEffect from 0x140206f30 to 0x140207172 (578 bytes) // // 5 xrefs: // > EndLevelLayer::showLayer @ 0x1402060b5 // > EndLevelLayer::showLayer @ 0x140206143 // > @ 0x1408a4488 // > @ 0x1408a44dc // > @ 0x14091b218 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:28:15 +0000 // void __fastcall EndLevelLayer::playCoinEffect(__int64 a1, float a2) { cocos2d::CCArray *v3; // rcx unsigned int i; // r14d __int64 v5; // rcx __int64 v6; // rax cocos2d::CCNode *v7; // rsi __int64 v8; // rdi float v9; // xmm6_4 struct cocos2d::CCActionInterval *v10; // rax struct cocos2d::CCFiniteTimeAction *v11; // rbx struct cocos2d::CCFadeIn *v12; // rax struct cocos2d::CCSpawn *v13; // rbx struct cocos2d::CCFiniteTimeAction *v14; // rax struct cocos2d::CCAction *v15; // rax struct cocos2d::CCFiniteTimeAction *v16; // rax struct cocos2d::CCAction *v17; // rax char v18; // [rsp+B0h] [rbp+8h] BYREF v3 = *(cocos2d::CCArray **)(a1 + 632); if ( v3 ) { if ( cocos2d::CCArray::count(v3) ) { for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 632)); ++i ) { v6 = cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::getWinSize(v6, &v18); v7 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 632), i); (*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(a1 + 576) + 456LL))( *(_QWORD *)(a1 + 576), v7, 10); (*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v7 + 160LL))(v7); (*(void (__fastcall **)(__int64, _QWORD))(*((_QWORD *)v7 + 40) + 40LL))((__int64)v7 + 320, 0); v8 = cocos2d::CCCallFuncO::create(a1, EndLevelLayer::coinEnterFinishedO, v7); v9 = (float)((float)(int)i * 0.34999999) + a2; v10 = cocos2d::CCScaleTo::create(0.40000001, 1.0); v11 = cocos2d::CCEaseBounceOut::create(v10); v12 = cocos2d::CCFadeIn::create(0.1); v13 = cocos2d::CCSpawn::create(v11, v12, 0); v14 = cocos2d::CCDelayTime::create(v9); v15 = cocos2d::CCSequence::create(v14, v13, 0); cocos2d::CCNode::runAction(v7, v15); v16 = cocos2d::CCDelayTime::create(v9 + 0.1); v17 = cocos2d::CCSequence::create(v16, v8, 0); cocos2d::CCNode::runAction(v7, v17); } } } }