// // cocos2d::CCFadeOutTRTiles::update from 0xac8f40 to 0xac90b8 (376 bytes) // // 5 xrefs: // > @ 0xa3800 // > @ 0x11ff4d8 // > @ 0x11ff588 // > @ 0x11ff638 // > @ 0x11ff6e8 // // 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) { float v2; // s1 float v5; // s10 int v6; // w23 float v7; // s0 int v8; // w21 float v9; // s8 float (__fastcall *testFunc)(cocos2d::CCFadeOutTRTiles *__hidden, const cocos2d::CCSize *, float); // x22 float v11; // s9 void (__fastcall *transformTile)(cocos2d::CCFadeOutTRTiles *__hidden, const cocos2d::CCPoint *, float); // x22 cocos2d::CCPoint v13; // [xsp+70h] [xbp+70h] BYREF v2 = *((float *)&a1->m_bFirstTick + 1); if ( v2 > 0.0 ) { v5 = 0.0; v6 = 0; v7 = *(float *)&a1[1].__vftable; do { v8 = 0; v9 = 0.0; if ( v7 > 0.0 ) { do { while ( 1 ) { testFunc = a1->testFunc; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v13, v5, v9); v11 = testFunc(a1, (const cocos2d::CCSize *)&v13, a2); if ( v11 != 0.0 ) break; ++v8; cocos2d::CCPoint::CCPoint(&v13, v5, v9); cocos2d::CCFadeOutTRTiles::turnOffTile(a1, &v13); v9 = (float)v8; v7 = *(float *)&a1[1].__vftable; if ( (float)v8 >= v7 ) goto LABEL_10; } if ( v11 < 1.0 ) { transformTile = a1->transformTile; cocos2d::CCPoint::CCPoint(&v13, v5, v9); transformTile(a1, &v13, v11); } else { cocos2d::CCPoint::CCPoint(&v13, v5, v9); cocos2d::CCFadeOutTRTiles::turnOnTile(a1, &v13); } ++v8; v7 = *(float *)&a1[1].__vftable; v9 = (float)v8; } while ( (float)v8 < v7 ); LABEL_10: v2 = *((float *)&a1->m_bFirstTick + 1); } v5 = (float)++v6; } while ( (float)v6 < v2 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source