// // AccountRegisterLayer::createTextLabel from 0x98f708 to 0x98f83c (308 bytes) // // 6 xrefs: // > AccountRegisterLayer::init @ 0x990c50 // > AccountRegisterLayer::init @ 0x990d98 // > AccountRegisterLayer::init @ 0x990fe4 // > AccountRegisterLayer::init @ 0x991144 // > AccountRegisterLayer::init @ 0x991290 // > @ 0xb09b0 // // 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:58 +0000 // __int64 __fastcall AccountRegisterLayer::createTextLabel(__int64 a1, __int64 a2, __int64 a3, float *a4) { cocos2d::CCLabelBMFont *v6; // x4 __int64 v7; // x19 void (__fastcall *v8)(__int64, __int64 *); // x25 void (__fastcall *v9)(__int64, __int64 *); // x22 _BYTE v12[8]; // [xsp+68h] [xbp+68h] BYREF __int64 v13; // [xsp+70h] [xbp+70h] BYREF v6 = (cocos2d::CCLabelBMFont *)(a3 + 1); if ( (*(_BYTE *)a3 & 1) != 0 ) v6 = *(cocos2d::CCLabelBMFont **)(a3 + 16); v7 = cocos2d::CCLabelBMFont::create(v6, "bigFont.fnt", (const char *)a3); v8 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v7 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, 0.0, 0.0); v8(v7, &v13); v9 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v7 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (float)-*a4 * 0.5, (float)(a4[1] * 0.5) + 1.0); cocos2d::CCPoint::operator+(&v13, a2); v9(v7, &v13); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v7 + 160LL))(v7, 0.4); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v7); return v7; }