// // sub_100541BCC from 0x100541bcc to 0x100541cc4 (248 bytes) // // 2 xrefs: // > sub_100523800 @ 0x100523fc8 // > sub_100542A8C @ 0x1005439a0 // // 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 11:07:43 +0000 // void *__fastcall sub_100541BCC(__int64 a1, __int64 a2, float a3) { const char *v4; // x8 const char *v5; // x9 void *v6; // x0 const char *CString; // x0 void *v8; // x19 __int16 v10; // [xsp+14h] [xbp-2Ch] BYREF char v11; // [xsp+16h] [xbp-2Ah] float v12; // [xsp+18h] [xbp-28h] BYREF if ( *(char *)(a1 + 23) < 0 ) { if ( *(_QWORD *)(a1 + 8) ) v4 = *(const char **)a1; else v4 = "?"; } else if ( *(_BYTE *)(a1 + 23) ) { v4 = (const char *)a1; } else { v4 = "?"; } if ( *(char *)(a2 + 23) >= 0 ) v5 = (const char *)a2; else v5 = *(const char **)a2; v6 = sub_1003065B0("Viewed by %s %s ago", v4, v5); CString = (const char *)cocos2d::CCString::getCString((__int64)v6); v8 = cocos2d::CCLabelBMFont::create_1(CString, "chatFont.fnt"); sub_1000262BC(&v12, 1.0, 0.5); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v8 + 296LL))(v8, &v12); cocos2d::CCLabelBMFont::limitLabelWidth((__int64)v8, 150.0, a3, 0.2); v11 = -1; v10 = -9066; (*(void (__fastcall **)(void *, __int16 *))(*(_QWORD *)v8 + 1072LL))(v8, &v10); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source