// // sub_1000BEA6C from 0x1000bea6c to 0x1000beccc (608 bytes) // // 2 xrefs: // > sub_100099D7C @ 0x100099ee0 // > sub_10009AD1C @ 0x10009afd0 // // 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 10:58:46 +0000 // __int64 __fastcall sub_1000BEA6C(__int64 a1) { __int64 v2; // x0 int v3; // w19 __int64 v4; // x0 int v5; // w21 __int64 v6; // x0 int v7; // w22 __int64 v8; // x0 char *CString; // x0 _QWORD *v10; // x0 __int64 v11; // x0 char *v12; // x0 __int64 v13; // x0 __int64 v14; // x23 __int64 v15; // x20 std::string v17; // [xsp+0h] [xbp-D0h] BYREF std::string __str; // [xsp+20h] [xbp-B0h] BYREF void *v19[2]; // [xsp+40h] [xbp-90h] BYREF char v20; // [xsp+57h] [xbp-79h] std::string __p; // [xsp+58h] [xbp-78h] BYREF void *v22; // [xsp+70h] [xbp-60h] BYREF char v23; // [xsp+87h] [xbp-49h] std::string v24; // [xsp+88h] [xbp-48h] BYREF sub_100009900(&v24, "32"); v2 = cocos2d::CCDictionary::valueForKey(a1, &v24); v3 = cocos2d::CCString::intValue(v2); if ( SHIBYTE(v24.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v24.__r_.__value_.__l.__data_); sub_100009900(&v24, "33"); v4 = cocos2d::CCDictionary::valueForKey(a1, &v24); v5 = cocos2d::CCString::intValue(v4); if ( SHIBYTE(v24.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v24.__r_.__value_.__l.__data_); sub_100009900(&v24, "34"); v6 = cocos2d::CCDictionary::valueForKey(a1, &v24); v7 = cocos2d::CCString::intValue(v6); if ( SHIBYTE(v24.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v24.__r_.__value_.__l.__data_); sub_100009900(&__p, "35"); v8 = cocos2d::CCDictionary::valueForKey(a1, &__p); CString = (char *)cocos2d::CCString::getCString(v8); v10 = sub_100009900(&v22, CString); LevelTools::base64DecodeString(&v24, v10); if ( v23 < 0 ) operator delete(v22); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); sub_100009900(v19, "37"); v11 = cocos2d::CCDictionary::valueForKey(a1, v19); v12 = (char *)cocos2d::CCString::getCString(v11); sub_100009900(&__p, v12); if ( v20 < 0 ) operator delete(v19[0]); sub_100009900(v19, "36"); v13 = cocos2d::CCDictionary::valueForKey(a1, v19); v14 = cocos2d::CCString::getCString(v13); if ( v20 < 0 ) operator delete(v19[0]); v15 = sub_1000D510C(); *(_DWORD *)(v15 + 316) = v3; *(_DWORD *)(v15 + 320) = v5; *(_DWORD *)(v15 + 324) = v7; if ( SHIBYTE(v24.__r_.__value_.__r.__words[2]) < 0 ) sub_1000097D0(&__str, v24.__r_.__value_.__l.__data_, v24.__r_.__value_.__l.__size_); else __str = v24; std::string::operator=((std::string *)(v15 + 328), &__str); if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__str.__r_.__value_.__l.__data_); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) sub_1000097D0(&v17, __p.__r_.__value_.__l.__data_, __p.__r_.__value_.__l.__size_); else v17 = __p; std::string::operator=((std::string *)(v15 + 352), &v17); if ( SHIBYTE(v17.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v17.__r_.__value_.__l.__data_); *(_BYTE *)(v15 + 376) = v14 != 0; if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); if ( SHIBYTE(v24.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v24.__r_.__value_.__l.__data_); return v15; }
GD Web Decomp Icon

GD Web Decomp

Raw Source