// // InfoLayer::refreshUserTitle from 0x908888 to 0x9089c4 (316 bytes) // // 3 xrefs: // > InfoLayer::toggleModRoom @ 0x90b090 // > InfoLayer::init @ 0x90b360 // > @ 0x7db00 // // 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 12:57:10 +0000 // __int64 __fastcall InfoLayer::refreshUserTitle(InfoLayer *this) { __int64 v2; // x0 char v3; // w1 __int64 v4; // x2 __int64 v5; // x0 __int64 v6; // x1 char *v7; // x1 const char *v8; // x2 cocos2d::CCString *v9; // x0 __int64 CString; // x1 __int64 v12; // [xsp+38h] [xbp+38h] __int64 v13; // [xsp+40h] [xbp+40h] BYREF __int64 v14; // [xsp+48h] [xbp+48h] char *v15; // [xsp+50h] [xbp+50h] if ( *((_QWORD *)this + 111) ) { v2 = *((_QWORD *)this + 88); if ( v2 ) { v3 = *(_BYTE *)(v2 + 320); v13 = 0; v4 = v2 + 320; v14 = 0; v15 = nullptr; if ( (v3 & 1) != 0 ) { std::string::__init(&v13, *(void **)(v2 + 336), *(_QWORD *)(v2 + 328)); } else { v5 = *(_QWORD *)v4; v6 = *(_QWORD *)(v4 + 8); v15 = *(char **)(v4 + 16); v13 = v5; v14 = v6; } v7 = (char *)&v13 + 1; if ( (v13 & 1) != 0 ) v7 = v15; if ( *((_BYTE *)this + 880) ) v8 = "notes"; else v8 = "comments"; v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s's %s", v7, v8); CString = cocos2d::CCString::getCString(v9); if ( (v13 & 1) != 0 ) { v12 = CString; operator delete(v15); CString = v12; } (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 111) + 928LL))(*((_QWORD *)this + 111), CString); cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 111), 180.0, 0.55, 0.0); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source