// // cocos2d::CCFadeOutTRTiles::update from 0x5bbcac to 0x5bbda0 (244 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 // void cocos2d::CCFadeOutTRTiles::update(cocos2d::CCFadeOutTRTiles *a1, float a2) { int i; // r7 int j; // r8 float (__fastcall *testFunc)(cocos2d::CCFadeOutTRTiles *__hidden, const cocos2d::CCSize *, float); // r10 float v7; // r0 float v8; // s18 void (__fastcall *transformTile)(cocos2d::CCFadeOutTRTiles *__hidden, const cocos2d::CCPoint *, float); // r10 cocos2d::CCPoint v10; // [sp+4h] [bp-Ch] BYREF for ( i = 0; (float)i < *(float *)&a1[1].__vftable; ++i ) { for ( j = 0; (float)j < *(float *)&a1[1].m_uID; ++j ) { testFunc = a1->testFunc; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v10, (float)i, (float)j); v7 = COERCE_FLOAT( ((int (__fastcall *)(cocos2d::CCFadeOutTRTiles *, cocos2d::CCPoint *, _DWORD))testFunc)( a1, &v10, LODWORD(a2))); v8 = v7; if ( v7 == 0.0 ) { cocos2d::CCPoint::CCPoint(&v10, (float)i, (float)j); cocos2d::CCFadeOutTRTiles::turnOffTile(a1, &v10); } else if ( v7 >= 1.0 ) { cocos2d::CCPoint::CCPoint(&v10, (float)i, (float)j); cocos2d::CCFadeOutTRTiles::turnOnTile(a1, &v10); } else { transformTile = a1->transformTile; cocos2d::CCPoint::CCPoint(&v10, (float)i, (float)j); ((void (__fastcall *)(cocos2d::CCFadeOutTRTiles *, cocos2d::CCPoint *, _DWORD))transformTile)( a1, &v10, LODWORD(v8)); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source