// // GameLevelManager::setLevelControlsTemplate from 0x4b5910 to 0x4b598e (126 bytes) // // 3 xrefs: // > GameLevelManager::onGetLevelControlsCompleted @ 0x4c65d6 // > GameLevelManager::onDeleteLevelControlsCompleted @ 0x4c674c // > GameLevelManager::onUploadLevelControlsCompleted @ 0x4c6892 // // 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:50:08 +0000 // char **__fastcall GameLevelManager::setLevelControlsTemplate( GameLevelManager *a1, const char *a2, unsigned __int8 *a3, int a4) { char *v6; // r6 char *v7; // r10 GJGameLevel *v8; // r8 unsigned __int8 *v9; // t1 int v10; // r3 int v11; // r3 int v12; // r3 char *v14; // [sp+0h] [bp-10h] BYREF const char *v15; // [sp+4h] [bp-Ch] unsigned __int8 *v16; // [sp+8h] [bp-8h] int v17; // [sp+Ch] [bp-4h] v14 = (char *)a1; v15 = a2; v16 = a3; v17 = a4; GameLevelManager::levelControlInstances((GameLevelManager *)&v14, a1, a2); v6 = v14; v7 = (char *)v15; while ( v6 != v7 ) { v9 = *(unsigned __int8 **)v6; v6 += 4; v8 = (GJGameLevel *)v9; std::string::operator=(v9 + 1328, a3); if ( a4 >= 0 ) { v10 = *a3; if ( (v10 & 1) != 0 ) v11 = *((_DWORD *)a3 + 1); else v11 = v10 >> 1; if ( v11 ) v12 = a4; else v12 = 0; *((_DWORD *)v8 + 335) = v12; } GJGameLevel::syncUneditedControls(v8); } return std::__vector_base::~__vector_base(&v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source