// // LevelTools::base64EncodeString from 0x100501e20 to 0x100501e6f (79 bytes) // // 8 xrefs: // > EditLevelLayer::textInputClosed @ 0x1001fd6e1 // > LevelListLayer::shareCommentClosed @ 0x1003602af // > GameLevelManager::uploadUserMessage @ 0x10054eab1 // > GameLevelManager::uploadComment @ 0x1005518f7 // > GameLevelManager::uploadFriendRequest @ 0x100553fbc // > GJGameLevel::dataLoaded @ 0x10055e9ce // > TextGameObject::getSaveString @ 0x1005d1f3e // > GJMultiplayerManager::uploadComment @ 0x10065b44a // // 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 // std::string *__fastcall LevelTools::base64EncodeString(std::string *a1, std::string *a2, double a3) { unsigned int v3; // eax v3 = (unsigned int)a2->__r_.__value_.__l.0; if ( (v3 & 1) != 0 ) { if ( a2->__r_.__value_.__l.__size_ ) goto LABEL_3; } else if ( v3 >> 1 ) { LABEL_3: cocos2d::ZipUtils::base64URLEncode(a1, a2, a3); return a1; } a1->__r_.__value_.__r.__words[2] = a2->__r_.__value_.__r.__words[2]; *(_OWORD *)&a1->__r_.__value_.__l.0 = *(_OWORD *)&a2->__r_.__value_.__l.0; *(_OWORD *)&a2->__r_.__value_.__l.0 = 0; a2->__r_.__value_.__r.__words[2] = 0; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source