//
// MultilineBitmapFont::initWithFont from 0x3d5df4 to 0x3d66fc (2312 bytes)
//
// 1 xrefs:
// > MultilineBitmapFont::createWithFont @ 0x3d67ea
//
// 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:46:44 +0000
//
cocos2d::CCDirector *__fastcall MultilineBitmapFont::initWithFont(
int a1,
char *a2,
unsigned __int8 *a3,
const char *a4,
float a5,
float *a6,
int a7,
char a8,
char a9,
int a10,
int a11)
{
cocos2d::CCDirector *v13; // r0
cocos2d::CCDirector *v14; // r0
float v15; // r0
float v16; // s18
cocos2d::CCObject *v17; // r0
cocos2d::CCArray *v18; // r0
cocos2d::CCObject *v19; // r0
cocos2d::CCArray *v20; // r0
cocos2d::CCObject *v21; // r0
BitmapFontCache *v22; // r0
BitmapFontCache *v23; // r0
cocos2d::CCObject *v24; // r0
int v25; // r0
int v26; // r1
int v27; // r2
int v28; // r0
int v29; // r1
int v30; // r2
int v31; // r3
int v32; // r2
int v33; // r3
int v34; // r3
unsigned __int8 *v35; // r2
int v36; // r11
unsigned int v37; // r3
cocos2d::CCObject *v38; // r7
void (__fastcall *v39)(cocos2d::CCObject *, _BYTE *); // r6
void (__fastcall *v40)(cocos2d::CCObject *, _BYTE *); // r6
int v41; // r0
void (__fastcall *v42)(cocos2d::CCObject *, _BYTE *); // r6
int v43; // r8
int v44; // r0
void (__fastcall *v45)(cocos2d::CCObject *, _BYTE *); // r6
float *v46; // r0
void (__fastcall *v47)(cocos2d::CCObject *, _BYTE *); // r6
float v48; // r8
int v49; // r0
int v50; // r1
int v51; // r2
int v52; // r7
float v53; // s15
const char *v55; // r2
cocos2d::CCLabelBMFont *v56; // r0
cocos2d::CCObject *v57; // r4
void (__fastcall *v58)(cocos2d::CCObject *, _BYTE *); // r8
float v59; // s17
float v60; // s16
float v61; // s16
float v62; // s15
float v63; // s16
void (__fastcall *v64)(cocos2d::CCObject *, _BYTE *); // r8
int v65; // r0
void (__fastcall *v66)(cocos2d::CCObject *, _BYTE *); // r8
int v67; // r9
int v68; // r0
void (__fastcall *v69)(cocos2d::CCObject *, _BYTE *); // r8
float *v70; // r0
void (__fastcall *v71)(cocos2d::CCObject *, _BYTE *); // r8
float v72; // r9
int v73; // r0
int v74; // r10
int v75; // r0
int v76; // r8
int v77; // r7
int v78; // r3
unsigned int i; // r7
cocos2d::CCArray *v80; // r8
cocos2d::CCArray *v81; // r0
cocos2d::CCObject *v82; // r0
int v83; // r4
unsigned int v84; // r4
char *v85; // r7
unsigned int v86; // r1
size_t v87; // r4
int v88; // r9
int v89; // r1
int v90; // r0
int v91; // r8
cocos2d::CCNode *v92; // r0
EmoteSprite *v93; // r7
float v94; // s16
float v95; // s16
float v96; // s17
int v97; // r0
int v98; // r0
int v99; // r0
float *v100; // r0
float v101; // s16
float v102; // s16
int v103; // r8
int v104; // r9
int v105; // r0
int v106; // r0
int v107; // r3
char v108; // r2
char v109; // lr
void (__fastcall *v110)(int, _BYTE *); // r3
float v111; // s15
int v112; // r3
int v113; // [sp+8h] [bp-74h]
int v114; // [sp+Ch] [bp-70h]
int v116; // [sp+14h] [bp-68h]
int v117; // [sp+18h] [bp-64h]
cocos2d::CCDirector *v119; // [sp+24h] [bp-58h]
void (__fastcall *v120)(EmoteSprite *, _BYTE *); // [sp+28h] [bp-54h]
int v121; // [sp+2Ch] [bp-50h]
_BYTE v122[8]; // [sp+3Ch] [bp-40h] BYREF
_BYTE v123[8]; // [sp+44h] [bp-38h] BYREF
_BYTE v124[8]; // [sp+4Ch] [bp-30h] BYREF
_BYTE v125[8]; // [sp+54h] [bp-28h] BYREF
int v126[3]; // [sp+5Ch] [bp-20h] BYREF
int v127; // [sp+68h] [bp-14h] BYREF
int v128; // [sp+6Ch] [bp-10h]
int v129; // [sp+70h] [bp-Ch]
v13 = (cocos2d::CCDirector *)(*(int (__fastcall **)(int))(*(_DWORD *)a1 + 40))(a1);
v119 = v13;
if ( !v13 )
return v119;
*(_BYTE *)(a1 + 512) = a9;
*(_DWORD *)(a1 + 516) = a10;
*(_DWORD *)(a1 + 520) = a11;
*(_BYTE *)(a1 + 572) = a8;
v14 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v13);
v15 = COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v14));
v16 = a5 * v15;
v17 = (cocos2d::CCObject *)cocos2d::CCArray::create((cocos2d::CCArray *)LODWORD(v15));
*(_DWORD *)(a1 + 528) = v17;
v18 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v17);
v19 = (cocos2d::CCObject *)cocos2d::CCArray::create(v18);
*(_DWORD *)(a1 + 532) = v19;
v20 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v19);
v21 = (cocos2d::CCObject *)cocos2d::CCArray::create(v20);
*(_DWORD *)(a1 + 536) = v21;
v22 = (BitmapFontCache *)cocos2d::CCObject::retain(v21);
v23 = (BitmapFontCache *)BitmapFontCache::sharedFontCache(v22);
v24 = BitmapFontCache::fontWithConfigFile(v23, a2, a4);
*(_DWORD *)(a1 + 508) = v24;
if ( v24 )
cocos2d::CCObject::retain(v24);
if ( *(int *)(a1 + 516) > 0 )
{
std::string::basic_string(v126, (int)a3);
MultilineBitmapFont::readEmoteInfo(&v127, (_DWORD *)a1, (int)v126);
if ( (*a3 & 1) != 0 )
{
**((_BYTE **)a3 + 2) = 0;
*((_DWORD *)a3 + 1) = 0;
}
else
{
a3[1] = 0;
*a3 = 0;
}
std::string::reserve((int *)a3, 0);
v25 = v127;
v26 = v128;
v27 = v129;
v127 = 0;
v128 = 0;
v129 = 0;
*(_DWORD *)a3 = v25;
*((_DWORD *)a3 + 1) = v26;
*((_DWORD *)a3 + 2) = v27;
std::string::~string((int)&v127);
std::string::~string((int)v126);
}
if ( !*(_BYTE *)(a1 + 572) )
{
std::string::basic_string(v126, (int)a3);
MultilineBitmapFont::readColorInfo(&v127, (cocos2d::CCArray **)a1, (unsigned __int8 *)v126);
if ( (*a3 & 1) != 0 )
{
**((_BYTE **)a3 + 2) = 0;
*((_DWORD *)a3 + 1) = 0;
}
else
{
a3[1] = 0;
*a3 = 0;
}
std::string::reserve((int *)a3, 0);
v28 = v127;
v29 = v128;
v30 = v129;
v127 = 0;
v128 = 0;
v129 = 0;
*(_DWORD *)a3 = v28;
*((_DWORD *)a3 + 1) = v29;
*((_DWORD *)a3 + 2) = v30;
std::string::~string((int)&v127);
std::string::~string((int)v126);
}
v31 = *a3;
v32 = v31 & 1;
if ( (v31 & 1) != 0 )
{
v33 = *((_DWORD *)a3 + 1);
if ( !v33 )
goto LABEL_22;
LABEL_18:
v34 = v33 - 1;
if ( v32 )
v35 = *((unsigned __int8 **)a3 + 2);
else
v35 = a3 + 1;
v33 = v35[v34] == 10;
goto LABEL_22;
}
v33 = v31 >> 1;
if ( v33 )
goto LABEL_18;
LABEL_22:
v116 = v33;
v114 = 0;
v36 = 0;
v113 = 0;
while ( 1 )
{
v37 = *a3;
if ( (v37 & 1) == 0 )
break;
if ( !*((_DWORD *)a3 + 1) )
goto LABEL_27;
LABEL_42:
std::string::basic_string(&v127, (int)a3);
MultilineBitmapFont::stringWithMaxWidth(v126, a1, (unsigned __int8 *)&v127, v16, *(float *)&a4);
std::string::~string((int)&v127);
if ( (v126[0] & 1) != 0 )
v56 = (cocos2d::CCLabelBMFont *)v126[2];
else
v56 = (cocos2d::CCLabelBMFont *)((char *)v126 + 1);
v57 = (cocos2d::CCObject *)cocos2d::CCLabelBMFont::create(v56, a2, v55);
v58 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v57 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v125, 0.0, (float)v114);
v58(v57, v125);
(*(void (__fastcall **)(cocos2d::CCObject *, const char *))(*(_DWORD *)v57 + 80))(v57, a4);
cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 536), v57);
v59 = *(float *)(a1 + 568);
v60 = *(float *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 164))(v57);
if ( v59 >= (float)(v60 * (*(float (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 84))(v57)) )
{
v62 = *(float *)(a1 + 568);
}
else
{
v61 = *(float *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 164))(v57);
v62 = v61 * (*(float (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 84))(v57);
}
*(float *)(a1 + 568) = v62;
(*(void (__fastcall **)(cocos2d::CCObject *, float *))(*(_DWORD *)v57 + 148))(v57, a6);
v63 = 0.5;
if ( *(float *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 152))(v57) == 0.5 )
{
v64 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v57 + 148);
v65 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 152))(v57);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v125, 0.0, *(float *)(v65 + 4));
v64(v57, v125);
v66 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v57 + 92);
(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 96))(v57);
(*(void (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 164))(v57);
v67 = roundf();
v68 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 96))(v57);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v125, *(float *)&v67, *(float *)(v68 + 4));
v66(v57, v125);
}
if ( *(float *)((*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 152))(v57) + 4) == 0.5 )
{
v69 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v57 + 148);
v70 = (float *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 152))(v57);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v125, *v70, 0.0);
v69(v57, v125);
v71 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v57 + 92);
v72 = *(float *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 96))(v57);
(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 96))(v57);
(*(void (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 164))(v57);
v73 = roundf();
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v125, v72, *(float *)&v73);
v71(v57, v125);
}
if ( (v126[0] & 1) != 0 )
v74 = v126[1];
else
v74 = (int)LOBYTE(v126[0]) >> 1;
qsort(
*(void **)(*(_DWORD *)(*(_DWORD *)(a1 + 528) + 52) + 12),
**(_DWORD **)(*(_DWORD *)(a1 + 528) + 52),
4u,
textSectionCompare);
v117 = 0;
while ( cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 528)) )
{
v75 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 528), 0);
v76 = *(_DWORD *)(v75 + 56);
v77 = v75;
if ( v76 < v113 )
break;
v78 = v113 + v74;
if ( v76 > v113 + v74 )
break;
v88 = *(_DWORD *)(v75 + 60);
if ( v88 == -1 || v88 <= v78 )
{
cocos2d::CCArray::removeObjectAtIndex(*(cocos2d::CCArray **)(a1 + 528), 0, 1);
}
else
{
v88 = v113 + v74;
*(_DWORD *)(v75 + 56) = v78 + 1;
}
++v117;
v89 = v76 - v113;
if ( *(_DWORD *)(v77 + 52) == 5 )
{
if ( v89 >= v74 )
{
cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 528), (cocos2d::CCObject *)v77);
break;
}
v90 = EmoteSprite::charIndexForByte(v126, v89);
v91 = (*(int (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v57 + 240))(v57, v90);
if ( v91 )
{
v92 = (cocos2d::CCNode *)EmoteSprite::createWithDef(*(_DWORD *)(v77 + 84));
v93 = v92;
if ( v92 )
{
if ( !*(_DWORD *)(a1 + 524) )
*(_DWORD *)(a1 + 524) = cocos2d::CCNode::create(v92);
v94 = *(float *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 152))(v57);
v95 = v94 * *(float *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 164))(v57);
v96 = *(float *)((*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 152))(v57) + 4);
v97 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 164))(v57);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v122, v95, v96 * *(float *)(v97 + 4));
v120 = *(void (__fastcall **)(EmoteSprite *, _BYTE *))(*(_DWORD *)v93 + 92);
v121 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 96))(v57);
v98 = (*(int (__fastcall **)(int))(*(_DWORD *)v91 + 96))(v91);
cocos2d::CCPoint::operator-(v123, v98, v122);
v99 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 84))(v57);
cocos2d::CCPoint::operator*(v124, v123, v99);
cocos2d::CCPoint::operator+(v125, v121, v124);
v120(v93, v125);
v100 = (float *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 164))(v57);
v101 = v100[1];
v102 = v101 * COERCE_FLOAT(EmoteSprite::heightFactor((EmoteSprite *)v100));
v63 = v102 * (*(float (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 84))(v57);
EmoteSprite::fitToHeight(v93, v63, *(float *)(a1 + 520));
(*(void (__fastcall **)(_DWORD, EmoteSprite *))(**(_DWORD **)(a1 + 524) + 228))(*(_DWORD *)(a1 + 524), v93);
cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 532), v93);
}
}
}
else
{
v103 = EmoteSprite::charIndexForByte(v126, v89);
v104 = EmoteSprite::charIndexForByte(v126, v88 - v113);
if ( v103 == 1 )
v103 = 0;
if ( !(*(int (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v57 + 240))(v57, v103) )
--v103;
if ( *(_DWORD *)(v77 + 60) == -1 )
{
v105 = (*(int (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v57 + 240))(v57, v103);
if ( v105 && *(_DWORD *)(v77 + 52) == 4 )
*(_DWORD *)(v105 + 524) = *(_DWORD *)(v77 + 72);
}
else
{
while ( v103 <= v104 )
{
v106 = (*(int (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v57 + 240))(v57, v103);
if ( v106 )
{
v107 = *(_DWORD *)(v77 + 52);
switch ( v107 )
{
case 2:
*(_BYTE *)(v106 + 516) = 1;
*(_DWORD *)(v106 + 520) = *(_DWORD *)(v77 + 68);
break;
case 3:
v111 = (float)*(int *)(v77 + 76);
*(float *)(v106 + 532) = v111;
v112 = *(_DWORD *)(v77 + 80);
if ( v112 <= 0 )
v63 = 0.0;
else
v111 = *(float *)(v77 + 80);
*(_DWORD *)(v106 + 540) = v117;
if ( v112 > 0 )
v63 = 1.0 / (float)SLODWORD(v111);
*(float *)(v106 + 528) = v63;
break;
case 1:
v108 = *(_BYTE *)(v77 + 66);
v109 = *(_BYTE *)(v77 + 64);
v110 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v106 + 480);
v125[1] = *(_BYTE *)(v77 + 65);
v125[0] = v109;
v125[2] = v108;
v110(v106, v125);
break;
}
}
++v103;
}
}
}
}
(*(void (__fastcall **)(int, cocos2d::CCObject *))(*(_DWORD *)a1 + 228))(a1, v57);
for ( i = 0; i < (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 248))(v57); ++i )
{
v80 = *(cocos2d::CCArray **)(a1 + 532);
v81 = (cocos2d::CCArray *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v57 + 244))(v57);
v82 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(v81, i);
cocos2d::CCArray::addObject(v80, v82);
}
v83 = *a3;
if ( (v83 & 1) != 0 )
{
v84 = *((_DWORD *)a3 + 1);
if ( !v74 )
goto LABEL_75;
v85 = *((char **)a3 + 2);
}
else
{
if ( !v74 )
goto LABEL_75;
v84 = v83 >> 1;
v85 = (char *)(a3 + 1);
}
v86 = v84;
if ( v84 >= v74 )
v86 = v74;
v87 = v84 - v86;
if ( v87 )
std::char_traits::move(v85, &v85[v86], v87);
if ( (*a3 & 1) != 0 )
*((_DWORD *)a3 + 1) = v87;
else
*a3 = 2 * v87;
v85[v87] = 0;
LABEL_75:
++v36;
v113 += v74;
std::string::~string((int)v126);
v114 -= a7;
}
if ( v37 >> 1 )
goto LABEL_42;
LABEL_27:
if ( v116 )
{
v38 = (cocos2d::CCObject *)cocos2d::CCLabelBMFont::create(
(cocos2d::CCLabelBMFont *)" ",
a2,
(const char *)(v37 << 31));
v39 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v38 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v125, 0.0, (float)-(a7 * v36));
v39(v38, v125);
(*(void (__fastcall **)(cocos2d::CCObject *, const char *))(*(_DWORD *)v38 + 80))(v38, a4);
cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 536), v38);
(*(void (__fastcall **)(cocos2d::CCObject *, float *))(*(_DWORD *)v38 + 148))(v38, a6);
if ( *(float *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v38 + 152))(v38) == 0.5 )
{
v40 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v38 + 148);
v41 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v38 + 152))(v38);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v125, 0.0, *(float *)(v41 + 4));
v40(v38, v125);
v42 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v38 + 92);
(*(void (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v38 + 96))(v38);
(*(void (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v38 + 164))(v38);
v43 = roundf();
v44 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v38 + 96))(v38);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v125, *(float *)&v43, *(float *)(v44 + 4));
v42(v38, v125);
}
if ( *(float *)((*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v38 + 152))(v38) + 4) == 0.5 )
{
v45 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v38 + 148);
v46 = (float *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v38 + 152))(v38);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v125, *v46, 0.0);
v45(v38, v125);
v47 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v38 + 92);
v48 = *(float *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v38 + 96))(v38);
(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v38 + 96))(v38);
(*(void (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v38 + 164))(v38);
v49 = roundf();
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v125, v48, *(float *)&v49);
v47(v38, v125);
}
++v36;
(*(void (__fastcall **)(int, cocos2d::CCObject *))(*(_DWORD *)a1 + 228))(a1, v38);
}
v50 = *(_DWORD *)(a1 + 524);
if ( v50 )
(*(void (__fastcall **)(int, int, int))(*(_DWORD *)a1 + 232))(a1, v50, 10);
cocos2d::CCObject::release(*(cocos2d::CCObject **)(a1 + 528));
*(_DWORD *)(a1 + 528) = 0;
v51 = (v36 - 1) * a7;
*(_DWORD *)(a1 + 552) = v51;
*(_DWORD *)(a1 + 556) = (int)(float)(v16 + 0.0);
v52 = (int)(float)(v16 + 0.0);
if ( *a6 == 0.0 )
{
v53 = 0.0;
}
else
{
if ( *a6 != 1.0 )
v52 /= 2;
v53 = (float)-v52;
}
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v125, -v53, (float)v51);
cocos2d::CCPoint::operator=(a1 + 560, v125);
return v119;
}