// // sub_1000A7734 from 0x1000a7734 to 0x1000a789c (360 bytes) // // 15 xrefs: // > GJGameLevel::create @ 0x1000a8440 // > CommentCell::loadFromComment @ 0x10012afb4 // > ProfilePage::init @ 0x100229f6c // > sub_10022E8B0 @ 0x10022e8ec // > sub_10022EDE8 @ 0x10022ee14 // > ShareCommentLayer::init @ 0x10026c858 // > FriendRequestPopup::init @ 0x100377cac // > sub_100378BB0 @ 0x100378bd8 // > LevelBrowserLayer::getSearchTitle @ 0x100499bec // > sub_1004FC014 @ 0x1004fc120 // > sub_100508F28 @ 0x1005093ac // > NewThreadPopup::threadSendFinished @ 0x10050c48c // > sub_100520FF4 @ 0x1005210c8 // > sub_100521280 @ 0x10052133c // > CommentOptionsPopup::init @ 0x10052241c // // 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:34 +0000 // void __usercall sub_1000A7734(__int64 a1@, int a2@, __int64 a3@) { __int64 v5; // x0 int v6; // w21 __int64 v7; // x0 std::string *v8; // x0 unsigned __int64 v9; // x8 unsigned __int64 v10; // x8 __int64 v11; // x0 unsigned __int64 v12; // x8 char v13; // w10 unsigned __int64 v14; // x9 unsigned __int64 v15; // x11 _QWORD *v16; // x0 unsigned __int64 v17; // x8 __int128 v18; // [xsp+0h] [xbp-40h] BYREF unsigned __int64 v19; // [xsp+10h] [xbp-30h] int v20; // [xsp+1Ch] [xbp-24h] BYREF v20 = a2; if ( a2 ) { v5 = cocos2d::CCDictionary::valueForKey_1(*(_QWORD *)(a1 + 984), a2); v6 = cocos2d::CCString::intValue(v5); v7 = GameLevelManager::sharedState(); v8 = (std::string *)GameLevelManager::userNameForUserID(v7, v6, (_QWORD *)a3); v9 = *(unsigned __int8 *)(a3 + 23); if ( (v9 & 0x80u) != 0LL ) v9 = *(_QWORD *)(a3 + 8); if ( v9 <= 1 ) { v8 = (std::string *)sub_100019268((_QWORD *)(a1 + 1000), &v20); if ( v8 ) v8 = std::string::operator=((std::string *)a3, v8 + 1); } v10 = *(unsigned __int8 *)(a3 + 23); if ( (v10 & 0x80u) != 0LL ) v10 = *(_QWORD *)(a3 + 8); if ( v10 <= 1 ) { v11 = GameLevelManager::sharedState(); v8 = (std::string *)cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(v11 + 1120), v20); if ( v8 ) v8 = std::string::operator=((std::string *)a3, (std::string *)((char *)v8 + 320)); } v12 = *(unsigned __int8 *)(a3 + 23); v13 = v12; v14 = *(_QWORD *)(a3 + 8); if ( (v12 & 0x80u) == 0LL ) v15 = *(unsigned __int8 *)(a3 + 23); else v15 = *(_QWORD *)(a3 + 8); if ( v15 <= 1 ) { v16 = (_QWORD *)GameStatsManager::sharedState(v8); sub_10006DC7C(v16, v20, &v18); if ( *(char *)(a3 + 23) < 0 ) operator delete(*(void **)a3); *(_OWORD *)a3 = v18; v17 = v19; *(_QWORD *)(a3 + 16) = v19; v12 = HIBYTE(v17); v14 = *(_QWORD *)(a3 + 8); v13 = v12; } if ( v13 < 0 ) v12 = v14; if ( !v12 ) std::string::assign((std::string *)a3, "-"); } else { sub_100009900((_QWORD *)a3, "-"); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source