// // PlayLayer::updateEffectPositions from 0x401d3c to 0x401de2 (166 bytes) // // 1 xrefs: // > PlayLayer::postUpdate @ 0x40ccb8 // // 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 11:47:24 +0000 // unsigned int __fastcall PlayLayer::updateEffectPositions(PlayLayer *this) { int v2; // r7 float v3; // s13 void (__fastcall *v4)(int, _BYTE *); // r8 float v5; // s11 float v6; // s14 float v7; // s15 float v8; // s13 cocos2d::CCArray **v9; // r4 unsigned int v10; // r6 unsigned int result; // r0 CCCircleWave *v12; // r0 float v13[2]; // [sp+4h] [bp-14h] BYREF _BYTE v14[8]; // [sp+Ch] [bp-Ch] BYREF cocos2d::CCDirector::sharedDirector(this); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v13); v2 = *((_DWORD *)this + 2715); v3 = *((float *)this + 82); v4 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v2 + 92); v5 = *((float *)this + 212); v6 = (float)(v13[0] * 0.5) / v3; v7 = (float)(v13[1] * 0.5) / v3; v8 = *((float *)this + 213); v9 = (cocos2d::CCArray **)((char *)this + 11880); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, v6 + v5, v7 + v8); v10 = 0; v4(v2, v14); while ( 1 ) { result = cocos2d::CCArray::count(*v9); if ( v10 >= result ) break; v12 = (CCCircleWave *)cocos2d::CCArray::objectAtIndex(*v9, v10); CCCircleWave::updatePosition(v12, 0.0); ++v10; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source