// // AccountRegisterLayer::createTextLabel from 0x585c08 to 0x585cb8 (176 bytes) // // 5 xrefs: // > AccountRegisterLayer::init @ 0x586d26 // > AccountRegisterLayer::init @ 0x586e00 // > AccountRegisterLayer::init @ 0x586ff4 // > AccountRegisterLayer::init @ 0x5870ea // > AccountRegisterLayer::init @ 0x5871cc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:52:58 +0000 // int __fastcall AccountRegisterLayer::createTextLabel(int a1, int a2, int a3, float *a4) { cocos2d::CCLabelBMFont *v7; // r0 int v8; // r4 void (__fastcall *v9)(int, _BYTE *); // r10 void (__fastcall *v10)(int, _BYTE *); // r10 _BYTE v12[8]; // [sp+4h] [bp-14h] BYREF _BYTE v13[8]; // [sp+Ch] [bp-Ch] BYREF if ( (*(_BYTE *)a3 & 1) != 0 ) v7 = *(cocos2d::CCLabelBMFont **)(a3 + 8); else v7 = (cocos2d::CCLabelBMFont *)(a3 + 1); v8 = cocos2d::CCLabelBMFont::create(v7, "bigFont.fnt", (const char *)a3); v9 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v8 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, 0.0, 0.0); v9(v8, v13); v10 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v8 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, -(float)(*a4 * 0.5), (float)(a4[1] * 0.5) + 1.0); cocos2d::CCPoint::operator+(v13, a2, v12); v10(v8, v13); (*(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 80))(v8, 1053609165); (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(a1 + 460) + 228))(*(_DWORD *)(a1 + 460), v8); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source