// // CCCircleAlert::init from 0x100178e50 to 0x100178f3f (239 bytes) // // 0 xrefs: // // 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 // bool __fastcall CCCircleAlert::init(CCCircleAlert *a1, float a2, float a3, float a4) { unsigned int v4; // r14d unsigned int v5; // r12d unsigned int v6; // eax int v7; // ecx int v8; // r8d int v9; // r9d int v10; // esi int v11; // ecx int v12; // r8d int v13; // r9d cocos2d::CCAction *v14; // r14 cocos2d::CCDirector *v15; // rax cocos2d::CCActionManager *v16; // rax a1->m_radius = a2; a1->m_opacity = 0.0; *(_WORD *)&a1->m_color.r = -1; a1->m_color.b = -1; v4 = (unsigned int)cocos2d::CCActionTween::create_1(a4, "radius", a2, a3); v5 = (unsigned int)cocos2d::CCActionTween::create_1(a4 + -0.30000001, "opacity", a1->m_opacity, 150.0); v6 = (unsigned int)cocos2d::CCActionTween::create_1(0.30000001, "opacity", 150.0, 0.0); v10 = sub_1003B5760(v5, v6, 0, v7, v8, v9); v14 = (cocos2d::CCAction *)sub_1003B6B60(v4, v10, 0, v11, v12, v13); v15 = cocos2d::CCDirector::sharedDirector(); v16 = (cocos2d::CCActionManager *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v15->getActionManager)(v15); cocos2d::CCActionManager::addAction(v16, v14, a1, 0); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source