// // GameLevelManager::getFriendRequestKey from 0x4aadb0 to 0x4aae02 (82 bytes) // // 4 xrefs: // > GameLevelManager::friendRequestWasRemoved @ 0x4b00b2 // > GameLevelManager::invalidateRequests @ 0x4b01e6 // > GameLevelManager::getFriendRequests @ 0x4c01f0 // > FRequestProfilePage::loadPage @ 0x5f203c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:49:58 +0000 // int __fastcall GameLevelManager::getFriendRequestKey(int a1, int a2, int a3, unsigned __int8 *a4, char a5) { const char *v7; // r1 unsigned int v8; // r2 cocos2d::CCString *v9; // r0 unsigned __int8 *v11; // r3 if ( a5 ) v7 = "fReqI"; else v7 = "fReq"; v8 = *a4; if ( (v8 & 1) != 0 ) { if ( !*((_DWORD *)a4 + 1) ) goto LABEL_8; v11 = *((unsigned __int8 **)a4 + 2); LABEL_11: v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%sS_%i_%i_%s", v7, a2, a3, v11, a2, a3); return cocos2d::CCString::getCString(v9); } if ( v8 >> 1 ) { v11 = a4 + 1; goto LABEL_11; } LABEL_8: v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s_%i_%i", v7, a2, a3, a1, a2, a3); return cocos2d::CCString::getCString(v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source