// // sub_10029BA90 from 0x10029ba90 to 0x10029bb8c (252 bytes) // // 2 xrefs: // > sub_10042EDA0 @ 0x10042ef34 // > SFXBrowser::cellPerformedAction @ 0x100434ffc // // This function is hookable on this platform (idp: pc, 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:27:53 +0000 // __int64 __fastcall sub_10029BA90(__int64 a1, __int64 a2) { __int64 v2; // rax __int64 v3; // r14 __int64 v4; // r14 float v6; // [rsp+8h] [rbp-28h] BYREF float v7[8]; // [rsp+10h] [rbp-20h] BYREF v2 = cocos2d::CCDirector::sharedDirector(a1, a2); cocos2d::CCDirector::getWinSize(v7, v2); if ( (*(_BYTE *)a2 & 1) != 0 ) v3 = *(_QWORD *)(a2 + 16); else v3 = a2 + 1; v4 = cocos2d::CCLabelBMFont::create_3(v3, "chatFont.fnt"); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 1024LL))(v4, 200); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v4 + 1072LL))(v4, &unk_100A073CC); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 160LL))(v4, 0.60000002); cocos2d::CCLabelBMFont::limitLabelWidth(v4, 280.0, 0.60000002, COERCE_DOUBLE(1050253722)); sub_100278250(&v6, v7[0] * 0.5, (float)((float)(0.5 * v7[1]) + 33.0) + *(float *)(a1 + 684)); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v4 + 184LL))(v4, &v6); return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source