// // cocos2d::CCShuffleTiles::shuffle from 0xd3a7ac to 0xd3a808 (92 bytes) // // 2 xrefs: // > cocos2d::CCShuffleTiles::startWithTarget @ 0xd3a95c // > @ 0x464f8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:07:25 +0000 // void __fastcall cocos2d::CCShuffleTiles::shuffle(cocos2d::CCShuffleTiles *this, unsigned int *a2, int a3) { int v3; // w19 unsigned int *v5; // x20 int v6; // w0 int v7; // w2 unsigned int v8; // w1 int v9; // w0 v3 = a3 - 1; if ( a3 - 1 >= 0 ) { v5 = &a2[v3]; do { v6 = rand(); v7 = v3 + 1; v8 = *v5; --v3; v9 = v6 % v7; *v5-- = a2[v9]; a2[v9] = v8; } while ( v3 != -1 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source