// // sub_10051C560 from 0x10051c560 to 0x10051c660 (256 bytes) // // 1 xrefs: // > PlatformerControlsPopup::init @ 0x10051be20 // // 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 11:07:09 +0000 // void __fastcall sub_10051C560(__int64 a1) { __int64 v1; // x20 _DWORD *v3; // x0 _QWORD *v4; // x0 __int64 v5; // x0 _QWORD *v6; // x0 void *__p[2]; // [xsp+0h] [xbp-40h] BYREF char v8; // [xsp+17h] [xbp-29h] void *v9[2]; // [xsp+18h] [xbp-28h] BYREF char v10; // [xsp+2Fh] [xbp-11h] v1 = *(_QWORD *)(a1 + 1048); if ( v1 ) { if ( *(char *)(v1 + 1807) < 0 ) { if ( !*(_QWORD *)(v1 + 1792) ) return; } else if ( !*(_BYTE *)(v1 + 1807) ) { return; } std::string::operator=((std::string *)(v1 + 1816), (const std::string *)(v1 + 1784)); *(_DWORD *)(v1 + 1840) = 1; *(_BYTE *)(v1 + 1844) = 0; v3 = *(_DWORD **)(a1 + 1064); if ( v3 ) { cocos2d::CCObject::release(v3); *(_QWORD *)(a1 + 1064) = 0; } v4 = sub_1004F10AC(*(_QWORD *)(a1 + 1048) + 1816LL); *(_DWORD *)(a1 + 1296) = sub_1004F1170(v4); v5 = sub_10051CF04(a1); sub_10051CEC4(v5); sub_100009900(v9, "Creator controls applied"); sub_100009900(__p, ""); v6 = TextAlertPopup::create((__int64)v9, 150, (__int64)__p, 0.5, 0.6); (*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v6, 100); if ( v8 < 0 ) operator delete(__p[0]); if ( v10 < 0 ) operator delete(v9[0]); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source