// // GJGameLevel::shippedControls from 0x4af974 to 0x4af9d2 (94 bytes) // // 2 xrefs: // > GameLevelManager::onUploadLevelCompleted @ 0x4c16cc // > PlatformerControlsPopup::onUpload @ 0x79e166 // // 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:01 +0000 // GJGameLevel *__fastcall GJGameLevel::shippedControls(GJGameLevel *this, int a2) { int v3; // r3 int v5; // r3 LevelControlConfig *v6; // r5 v3 = *(unsigned __int8 *)(a2 + 1344); if ( (v3 & 1) != 0 ) v5 = *(_DWORD *)(a2 + 1348); else v5 = v3 >> 1; if ( v5 && *(_DWORD *)(a2 + 1364) && ((v6 = (LevelControlConfig *)LevelControlConfig::createFromB64(a2 + 1344), LevelControlConfig::keepClasses(v6, *(_DWORD *)(a2 + 1364)), *((_DWORD *)v6 + 20)) || *((_DWORD *)v6 + 25) || *((_DWORD *)v6 + 27) != *((_DWORD *)v6 + 28)) ) { LevelControlConfig::encodeB64(this); } else { *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; std::string::__init((int *)this, &unk_B6B226, 0); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source