// // sub_1000C9A84 from 0x1000c9a84 to 0x1000c9cdc (600 bytes) // // 1 xrefs: // > ShareCommentLayer::onShare @ 0x10026d954 // // 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:51 +0000 // bool __fastcall sub_1000C9A84(__int64 a1, int a2, void **a3) { void **v3; // x21 __int64 v6; // x0 char *CString; // x23 __int64 v8; // x20 __int64 v9; // x0 __int64 v10; // x20 __int64 v11; // x24 __int64 v12; // x25 __int64 v13; // x0 __int64 v14; // x0 const char *v15; // x0 __int64 v16; // x0 const std::string::value_type *v17; // x0 std::string *v18; // x1 void *__p[2]; // [xsp+38h] [xbp-B8h] BYREF char v21; // [xsp+4Fh] [xbp-A1h] void *v22[2]; // [xsp+50h] [xbp-A0h] BYREF char v23; // [xsp+67h] [xbp-89h] std::string v24; // [xsp+68h] [xbp-88h] BYREF __int128 __dst; // [xsp+80h] [xbp-70h] BYREF void *v26; // [xsp+90h] [xbp-60h] std::string v27; // [xsp+98h] [xbp-58h] BYREF v3 = a3; if ( *((char *)a3 + 23) < 0 ) { sub_1000097D0(&__dst, *a3, (unsigned __int64)a3[1]); } else { __dst = *(_OWORD *)a3; v26 = a3[2]; } LevelTools::base64EncodeString(&v27, &__dst); if ( *((char *)v3 + 23) < 0 ) operator delete(*v3); *(std::string *)v3 = v27; *((_BYTE *)&v27.__r_.__value_.__s + 23) = 0; v27.__r_.__value_.__s.__data_[0] = 0; if ( SHIBYTE(v26) < 0 ) operator delete((void *)__dst); v6 = sub_1003065B0("friendReq_%i", a2); CString = (char *)cocos2d::CCString::getCString(v6); v8 = *(_QWORD *)(a1 + 1088); sub_100009900(&v27, CString); v9 = cocos2d::CCDictionary::objectForKey(v8, &v27); v10 = v9; if ( SHIBYTE(v27.__r_.__value_.__r.__words[2]) < 0 ) { operator delete(v27.__r_.__value_.__l.__data_); if ( v10 ) return v10 == 0; } else if ( v9 ) { return v10 == 0; } v11 = *(_QWORD *)(a1 + 1088); v12 = cocos2d::CCNode::create(v9); sub_100009900(&v27, CString); cocos2d::CCDictionary::setObject(v11, v12, &v27); if ( SHIBYTE(v27.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v27.__r_.__value_.__l.__data_); sub_1000AD8CC(a1, CString); GameLevelManager::getBasePostString(v13, &v27); if ( *((char *)v3 + 23) < 0 ) v3 = (void **)*v3; v14 = sub_1003065B0("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, "7"); v15 = (const char *)cocos2d::CCString::getCString(v14); v16 = sub_1003065B0("&toAccountID=%i&comment=%s&secret=%s", a2, (const char *)v3, v15); v17 = (const std::string::value_type *)cocos2d::CCString::getCString(v16); std::string::append(&v27, v17); sub_100009900(&v24, "https://www.boomlings.com/database/uploadFriendRequest20.php"); if ( (v27.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v18 = &v27; else v18 = (std::string *)v27.__r_.__value_.__r.__words[0]; sub_100009900(v22, (char *)v18); sub_100009900(__p, CString); GameLevelManager::ProcessHttpRequest(a1, &v24, (char *)v22, (const std::string::value_type *)__p, 35); if ( v21 < 0 ) operator delete(__p[0]); if ( v23 < 0 ) operator delete(v22[0]); if ( SHIBYTE(v24.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v24.__r_.__value_.__l.__data_); if ( SHIBYTE(v27.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v27.__r_.__value_.__l.__data_); return v10 == 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source