// // SetTextPopup::addInfoLabel from 0xa2021c to 0xa20354 (312 bytes) // // 3 xrefs: // > SFXBrowser::onImportSetup @ 0xb8efe8 // > SFXBrowser::cellPerformedAction @ 0xb97fb0 // > @ 0xe51c8 // // 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:59:39 +0000 // __int64 __fastcall SetTextPopup::addInfoLabel(__int64 a1, unsigned __int8 *a2) { cocos2d::CCDirector *v3; // x0 cocos2d::CCLabelBMFont *v4; // x0 cocos2d::CCLabelBMFont *v5; // x19 void (__fastcall *v6)(cocos2d::CCLabelBMFont *, _BYTE *); // x21 __int64 v9; // [xsp+48h] [xbp+48h] BYREF _BYTE v10[8]; // [xsp+50h] [xbp+50h] BYREF v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard); cocos2d::CCDirector::getWinSize(&v9, v3); v4 = (cocos2d::CCLabelBMFont *)(a2 + 1); if ( (*a2 & 1) != 0 ) v4 = *((cocos2d::CCLabelBMFont **)a2 + 2); v5 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v4, "chatFont.fnt", (const char *)*a2); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v5 + 1024LL))(v5, 4294967240LL); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, void *))(*(_QWORD *)v5 + 1072LL))(v5, &unk_116D890); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, float))(*(_QWORD *)v5 + 160LL))(v5, 0.6); cocos2d::CCLabelBMFont::limitLabelWidth(v5, 280.0, 0.6, 0.3); v6 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v5 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v10, *(float *)&v9 * 0.5, (float)((float)(*((float *)&v9 + 1) * 0.5) + 33.0) + *(float *)(a1 + 684)); v6(v5, v10); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v5); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source