// // PlayerObject::spawnDualCircle from 0x435d8c to 0x435e34 (168 bytes) // // 2 xrefs: // > GJBaseGameLayer::toggleDualMode @ 0x5b90c6 // > GJBaseGameLayer::toggleDualMode @ 0x5b90ce // // 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:48:19 +0000 // int __fastcall PlayerObject::spawnDualCircle(int this, int a2, int a3, bool a4) { cocos2d::CCNode *v4; // r5 int v5; // r6 CCCircleWave *v6; // r0 char v7; // r2 char v8; // r1 CCCircleWave *v9; // r4 int v10; // r3 void (__fastcall *v11)(CCCircleWave *, int); // r7 int v12; // r0 GameManager *v13; // r0 GameManager *v14; // r0 int v15; // r3 int v16; // r0 v4 = (cocos2d::CCNode *)this; if ( !*(_BYTE *)(this + 1601) ) { this = GameManager::sharedState((GameManager *)this); if ( !*(_BYTE *)(*(_DWORD *)(this + 404) + 10829) ) { this = GameManager::sharedState((GameManager *)this); v5 = *(unsigned __int8 *)(this + 725); if ( !*(_BYTE *)(this + 725) ) { v6 = CCCircleWave::create( (CCCircleWave *)0x42480000, 0x40000000, (cocos2d::CCActionTween *)0x3E800000, COERCE_FLOAT(1), a4); v7 = *((_BYTE *)v4 + 2107); v8 = *((_BYTE *)v4 + 2106); *((_BYTE *)v6 + 282) = *((_BYTE *)v4 + 2108); v9 = v6; v10 = *(_DWORD *)v6; *((_BYTE *)v6 + 281) = v7; *((_BYTE *)v6 + 280) = v8; v11 = *(void (__fastcall **)(CCCircleWave *, int))(v10 + 92); v12 = (*(int (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)v4 + 96))(v4); v11(v9, v12); (*(void (__fastcall **)(_DWORD, CCCircleWave *, int))(**((_DWORD **)v4 + 611) + 232))( *((_DWORD *)v4 + 611), v9, v5); v13 = (GameManager *)CCCircleWave::followObject(v9, v4, 1); v14 = (GameManager *)GameManager::sharedState(v13); v15 = *((_DWORD *)v14 + 101); if ( v15 ) v15 += 11688; *((_DWORD *)v9 + 77) = v15; v16 = GameManager::sharedState(v14); return PlayLayer::addCircle(*(cocos2d::CCArray ***)(v16 + 404), v9); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source