// // sub_1000D070C from 0x1000d070c to 0x1000d0838 (300 bytes) // // 4 xrefs: // > sub_1000D0934 @ 0x1000d0978 // > sub_1000D0934 @ 0x1000d0994 // > sub_1000D0934 @ 0x1000d09b4 // > PlayLayer::levelComplete @ 0x100142f90 // // 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:53 +0000 // std::string *__fastcall sub_1000D070C(int a1, std::string *this, int a3, int a4) { int v5; // w8 int v6; // w21 std::string::size_type size; // x8 int v8; // w22 std::string::size_type v9; // x20 std::string *v10; // x8 std::string::size_type v11; // x0 std::string *v12; // x8 std::string::size_type v13; // x8 __int64 v14; // x0 const std::string::value_type *CString; // x1 if ( a3 >= 100 ) v5 = 100; else v5 = a3; v6 = v5 & ~(v5 >> 31); size = HIBYTE(this->__r_.__value_.__r.__words[2]); v8 = (char)size; if ( !a4 ) goto LABEL_16; if ( (size & 0x80u) != 0LL ) size = this->__r_.__value_.__l.__size_; if ( !size ) goto LABEL_16; v9 = std::string::rfind(this, 44, 0xFFFFFFFFFFFFFFFFLL) + 1; v8 = SHIBYTE(this->__r_.__value_.__r.__words[2]); v10 = (std::string *)this->__r_.__value_.__r.__words[0]; if ( v8 >= 0 ) v10 = this; if ( atoi((const char *)v10 + v9) == v6 ) { v11 = std::string::find(this, 120, v9); if ( v11 != -1 ) { if ( (this->__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v12 = this; else v12 = (std::string *)this->__r_.__value_.__r.__words[0]; atoi(&v12->__r_.__value_.__s.__data_[v11 + 1]); } std::string::erase(this, v9, 0xFFFFFFFFFFFFFFFFLL); v14 = sub_1003065B0("%ix%i"); } else { LABEL_16: v13 = this->__r_.__value_.__l.__size_; if ( v8 >= 0 ) v13 = v8; if ( v13 ) std::string::append(this, ","); v14 = sub_1003065B0("%i"); } CString = (const std::string::value_type *)cocos2d::CCString::getCString(v14); return std::string::append(this, CString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source