// // cocos2d::CCBlink::update from 0x10018c880 to 0x10018c908 (136 bytes) // // 1 xrefs: // > @ 0x1007a5c10 // // 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 cocos2d::CCBlink::update(cocos2d::CCBlink *a1, float a2) { float v4; // s9 float v5; // s0 if ( a1->m_pTarget ) { if ( (((__int64 (__fastcall *)(cocos2d::CCBlink *))a1->isDone)(a1) & 1) == 0 ) { v4 = 1.0 / (float)*((unsigned int *)&a1->m_bFirstTick + 1); v5 = fmodf(a2, v4); ((void (__fastcall *)(cocos2d::CCNode *, bool))a1->m_pTarget->setVisible)(a1->m_pTarget, v5 > (float)(v4 * 0.5)); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source