// // LevelControlConfig::createFromB64 from 0x14044b0f0 to 0x14044b204 (276 bytes) // // 8 xrefs: // > GJGameLevel::shippedControls @ 0x140266589 // > LevelBindingsLayer::onPaste @ 0x14044cc41 // > PlatformerControlsPopup::init @ 0x14044f25d // > PlatformerControlsPopup::ensureCustomDraft @ 0x140450613 // > PlatformerControlsPopup::onApplyCreator @ 0x140451279 // > TouchControlEditLayer::onPaste @ 0x140455cf0 // > UILayer::resolveLevelControls @ 0x140670b96 // > @ 0x140927404 // // This function is hookable on this platform (idp: pc, 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 11:32:25 +0000 // // Hidden C++ exception states: #wind=2 _QWORD *__fastcall LevelControlConfig::createFromB64(__int64 a1) { _QWORD *v2; // rdi __int64 v3; // rax __int64 v4; // rbx void *v5; // rcx _BYTE v7[32]; // [rsp+38h] [rbp-50h] BYREF void *Block[2]; // [rsp+58h] [rbp-30h] BYREF __int128 v9; // [rsp+68h] [rbp-20h] v2 = LevelControlConfig::create(); v3 = sub_14003F4F0((__int64)v7, a1); v4 = v3; if ( *(_QWORD *)(v3 + 16) ) { cocos2d::ZipUtils::base64URLDecode(Block, v3); } else { *(_OWORD *)Block = 0; v9 = 0; *(_OWORD *)Block = *(_OWORD *)v3; v9 = *(_OWORD *)(v3 + 16); *(_QWORD *)(v3 + 16) = 0; *(_QWORD *)(v3 + 24) = 15; *(_BYTE *)v3 = 0; } sub_14003D310(v4); LevelControlConfig::decode((__int64)v2, (__int64 *)Block); if ( *((_QWORD *)&v9 + 1) > 0xFu ) { v5 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v9 + 1) + 1LL) >= 0x1000 ) { v5 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v5 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v5); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source