// // SecretGame01Layer::update from 0x1004809d0 to 0x100480abc (236 bytes) // // 1 xrefs: // > @ 0x10093b8d8 // // 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 // void __fastcall SecretGame01Layer::update(SecretGame01Layer *a1, float a2) { cocos2d::CCSprite *m_timeBarSprite; // r14 if ( a1->m_gameActive ) { a1->m_timeElapsed = a2 + a1->m_timeElapsed; m_timeBarSprite = a1->m_timeBarSprite; if ( (float)((float)(1.0 - (float)(a1->m_timeElapsed / a1->m_gameTime)) * (float)(100.0 / *(float *)((__int64 (__fastcall *)(cocos2d::CCSprite *))m_timeBarSprite->getContentSize)(m_timeBarSprite))) > 0.0099999998 ) ((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_timeBarSprite->getContentSize)(a1->m_timeBarSprite); ((void (__fastcall *)(cocos2d::CCSprite *))m_timeBarSprite->setScaleX)(m_timeBarSprite); if ( a1->m_timeElapsed >= a1->m_gameTime ) { a1->m_gameDifficulty = 0; SecretGame01Layer::scaleOutGame(a1, 0); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source