// // GJGameLevel::setDemon from 0x41ee90 to 0x41eec2 (50 bytes) // // 11 xrefs: // > LevelTools::getLevel @ 0x420e46 // > LevelTools::getLevel @ 0x420f90 // > LevelTools::getLevel @ 0x421032 // > GameLevelManager::saveFetchedLevels @ 0x4ad890 // > GJGameLevel::init @ 0x4b2d0a // > GameLevelManager::getMainLevel @ 0x4b31a0 // > GJGameLevel::getListSnapshot @ 0x4b32ca // > GJGameLevel::duplicate @ 0x4b3480 // > GameLevelManager::onGetLevelSaveDataCompleted @ 0x4c1ce8 // > GJGameLevel::dataLoaded @ 0x4cb1fa // > GJGameLevel::create @ 0x4cf490 // // 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:00 +0000 // unsigned int __fastcall GJGameLevel::setDemon(GJGameLevel *this, int a2) { unsigned int result; // r0 int v5; // s15 *((_DWORD *)this + 191) = a2; result = rand(); v5 = (int)(float)(vcvts_n_f32_s32(result, 0x1Fu) * 1000.0); *((_DWORD *)this + 190) = v5; *((_DWORD *)this + 189) = v5 + a2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source