// // cocos2d::CCTurnOffTiles::startWithTarget from 0x7c2816 to 0x7c2870 (90 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:00:21 +0000 // void __fastcall cocos2d::CCTurnOffTiles::startWithTarget(unsigned int **this, cocos2d::CCNode *a2) { unsigned int v3; // r0 unsigned int v4; // s15 unsigned int v5; // r0 unsigned int *v6; // r0 unsigned int v7; // r3 unsigned int v8; // r2 cocos2d::CCGridAction::startWithTarget((cocos2d::CCGridAction *)this, a2); v3 = (unsigned int)*(this + 22); if ( v3 != -1 ) srand(v3); v4 = (unsigned int)(float)(*((float *)this + 20) * *((float *)this + 21)); *(this + 23) = (unsigned int *)v4; if ( v4 > 0x1FC00000 ) v5 = -1; else v5 = 4 * v4; v6 = (unsigned int *)operator new[](v5); v7 = 0; *(this + 24) = v6; while ( 1 ) { v8 = (unsigned int)*(this + 23); if ( v7 >= v8 ) break; (*(this + 24))[v7] = v7; ++v7; } cocos2d::CCTurnOffTiles::shuffle((cocos2d::CCTurnOffTiles *)this, *(this + 24), v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source