// // PlayerObject::spawnScaleCircle from 0x74f9e0 to 0x74fb14 (308 bytes) // // 2 xrefs: // > PlayerObject::togglePlayerScale @ 0x75d104 // > @ 0xa7770 // // 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 12:52:54 +0000 // __int64 __fastcall PlayerObject::spawnScaleCircle(__int64 this) { cocos2d::CCNode *v1; // x20 float v2; // s0 char v3; // w22 char v4; // w21 CCCircleWave *v5; // x0 float v6; // s2 float v7; // s1 CCCircleWave *v8; // x19 void (__fastcall *v9)(CCCircleWave *, __int64); // x21 __int64 v10; // x0 GameManager *v11; // x0 __int64 v12; // x0 GameManager *v13; // x0 __int64 v14; // x0 if ( !*(_BYTE *)(this + 1969) ) { v1 = (cocos2d::CCNode *)this; this = *(unsigned __int8 *)(*(_QWORD *)(GameManager::sharedState((GameManager *)this) + 544) + 12605LL); if ( !(_DWORD)this ) { this = *(unsigned __int8 *)(GameManager::sharedState((GameManager *)this) + 925); if ( !(_DWORD)this ) { if ( *((float *)v1 + 618) == 1.0 ) { v6 = 0.3; v3 = -1; v7 = 40.0; v4 = 0; v5 = nullptr; v2 = 10.0; } else { v2 = 50.0; v3 = 0; v4 = -1; v5 = (CCCircleWave *)((char *)&dword_0 + 1); v6 = 0.25; v7 = 2.0; } v8 = (CCCircleWave *)CCCircleWave::create(v5, v2, v7, v6); *((_BYTE *)v8 + 340) = v4; *((_BYTE *)v8 + 341) = v3; *((_BYTE *)v8 + 342) = -106; v9 = *(void (__fastcall **)(CCCircleWave *, __int64))(*(_QWORD *)v8 + 184LL); v10 = (*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v1 + 192LL))(v1); v9(v8, v10); (*(void (__fastcall **)(_QWORD, CCCircleWave *, _QWORD))(**((_QWORD **)v1 + 378) + 464LL))( *((_QWORD *)v1 + 378), v8, 0); v11 = (GameManager *)CCCircleWave::followObject(v8, v1, 1u); v12 = *(_QWORD *)(GameManager::sharedState(v11) + 544); if ( v12 ) v13 = (GameManager *)(v12 + 13992); else v13 = nullptr; *((_QWORD *)v8 + 46) = v13; v14 = GameManager::sharedState(v13); return PlayLayer::addCircle(*(cocos2d::CCArray ***)(v14 + 544), v8); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source