// // CCCountdown::lapFinished from 0x3c52d4 to 0x3c5396 (194 bytes) // // 1 xrefs: // > CCCountdown::startTimerWithSeconds @ 0x3c54a6 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:46:33 +0000 // int __fastcall CCCountdown::lapFinished(CCCountdown *this) { const char *v2; // r1 int v3; // r0 void (__fastcall *v4)(int, const char *); // r3 int v5; // r2 int v6; // r0 int v8; // r5 void (__fastcall *v9)(int, int); // r6 cocos2d::CCString *v10; // r0 int CString; // r0 float v12; // r3 cocos2d::CCSequence *v13; // r6 cocos2d::CCFiniteTimeAction *v14; // r0 int v15; // r3 cocos2d::CCAction *v16; // r6 cocos2d::CCDirector *v17; // r0 int v18; // r0 cocos2d::CCActionManager *v19; // r0 v2 = (const char *)(*((_DWORD *)this + 129) - 1); *((_DWORD *)this + 129) = v2; if ( (int)v2 > 0 ) { v8 = *((_DWORD *)this + 130); v9 = *(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 464); v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v2); CString = cocos2d::CCString::getCString(v10); v9(v8, CString); cocos2d::CCProgressTimer::setPercentage(*((cocos2d::CCProgressTimer **)this + 127), 100.0); v13 = (cocos2d::CCSequence *)cocos2d::CCProgressFromTo::create( (cocos2d::CCProgressFromTo *)0x3F800000, 100.0, 0.0, v12); v14 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, CCCountdown::lapFinished, 0); v16 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v13, v14, 0, v15, CCCountdown::lapFinished, 0); v17 = (cocos2d::CCDirector *)(*(int (__fastcall **)(cocos2d::CCAction *, _DWORD))(*(_DWORD *)v16 + 36))(v16, 0); v18 = cocos2d::CCDirector::sharedDirector(v17); v19 = (cocos2d::CCActionManager *)(*(int (__fastcall **)(int))(*(_DWORD *)v18 + 72))(v18); return cocos2d::CCActionManager::addAction(v19, v16, *((cocos2d::CCNode **)this + 127), 0); } else { v3 = *((_DWORD *)this + 133); if ( v3 ) { v4 = *((void (__fastcall **)(int, const char *))this + 131); v5 = *((int *)this + 132) >> 1; if ( (*((_DWORD *)this + 132) & 1) != 0 ) v2 = *(const char **)(v3 + v5); v6 = v3 + v5; if ( (*((_DWORD *)this + 132) & 1) != 0 ) v4 = *(void (__fastcall **)(int, const char *))((char *)v4 + (_DWORD)v2); v4(v6, v2); } return (*(int (__fastcall **)(CCCountdown *, int))(*(_DWORD *)this + 264))(this, 1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source