// // cocos2d::ZipUtils::base64URLDecode from 0x10023e200 to 0x10023e2d4 (212 bytes) // // 1 xrefs: // > LevelTools::base64DecodeString @ 0x1001a940c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __usercall cocos2d::ZipUtils::base64URLDecode(void **a1@, std::string *a2@) { int v3; // w0 if ( (*((char *)a1 + 23) & 0x8000000000000000LL) != 0 ) { if ( !a1[1] ) { sub_1000097D0(a2, *a1, 0); return; } a1 = (void **)*a1; } else if ( !*((_BYTE *)a1 + 23) ) { *(_OWORD *)&a2->__r_.__value_.__l.__data_ = *(_OWORD *)a1; a2->__r_.__value_.__r.__words[2] = (std::string::size_type)a1[2]; return; } v3 = sub_100240884(a1); if ( v3 < 1 ) { sub_100009900(a2, ""); } else { a2->__r_.__value_.__r.__words[0] = 0; a2->__r_.__value_.__l.__size_ = 0; a2->__r_.__value_.__r.__words[2] = 0; std::string::append(a2, nullptr, (unsigned int)v3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source