// // LabelGameObject::customObjectSetup from 0x1001c19d0 to 0x1001c1be3 (531 bytes) // // 1 xrefs: // > @ 0x1008c55f0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall LabelGameObject::customObjectSetup( LabelGameObject *a1, std::vector *a2, std::vector *a3) { __int64 v3; // rax std::__vector_base::pointer begin; // r13 std::__vector_base::pointer v8; // rdi const char *longStorage; // rdi int v10; // r12d std::__vector_base::pointer v11; // rdi const char *elems; // rdi std::__vector_base::pointer v13; // rdi const char *v14; // rdi int v15; // r12d __int64 v16; // rsi std::__vector_base::pointer v17; // rdi const char *v18; // rdi std::__vector_base::pointer v19; // rdi const char *v20; // rdi cocos2d::CCLabelBMFont *m_label; // r13 float v22; // xmm0_4 std::__vector_base::pointer v23; // rdi const char *v24; // rdi bool v25; // al _QWORD v26[6]; // [rsp+0h] [rbp-30h] BYREF v26[0] = v3; begin = a3->__begin_; if ( !*((_QWORD *)a3->__begin_ + 80) ) { a1->m_itemID = 0; v10 = 0; if ( begin[389] ) goto LABEL_9; LABEL_5: a1->m_showSecondsOnly = 0; if ( !begin[390] ) goto LABEL_17; goto LABEL_13; } v8 = a2->__begin_; if ( (a2->__begin_[80].m_data.m_short.sizex2 & 1) != 0 ) longStorage = v8[80].m_data.m_long.longStorage; else longStorage = v8[80].m_data.m_short.shortStorage.__elems_; a1->m_itemID = atoi(longStorage); v10 = 0; if ( !begin[389] ) goto LABEL_5; LABEL_9: v11 = a2->__begin_; if ( (a2->__begin_[389].m_data.m_short.sizex2 & 1) != 0 ) elems = v11[389].m_data.m_long.longStorage; else elems = v11[389].m_data.m_short.shortStorage.__elems_; a1->m_showSecondsOnly = atoi(elems) != 0; if ( begin[390] ) { LABEL_13: v13 = a2->__begin_; if ( (a2->__begin_[390].m_data.m_short.sizex2 & 1) != 0 ) v14 = v13[390].m_data.m_long.longStorage; else v14 = v13[390].m_data.m_short.shortStorage.__elems_; v10 = atoi(v14); } LABEL_17: a1->m_shownSpecial = v10; v15 = 0; v16 = 0; if ( begin[488] ) { v17 = a2->__begin_; if ( (a2->__begin_[488].m_data.m_short.sizex2 & 1) != 0 ) v18 = v17[488].m_data.m_long.longStorage; else v18 = v17[488].m_data.m_short.shortStorage.__elems_; v16 = (unsigned int)atoi(v18); } ((void (__fastcall *)(LabelGameObject *, __int64))a1->updateTextKerning)(a1, v16); if ( *((_QWORD *)a3->__begin_ + 391) ) { v19 = a2->__begin_; if ( (a2->__begin_[391].m_data.m_short.sizex2 & 1) != 0 ) v20 = v19[391].m_data.m_long.longStorage; else v20 = v19[391].m_data.m_short.shortStorage.__elems_; v15 = atoi(v20); } a1->m_alignment = v15; m_label = a1->m_label; if ( m_label ) { if ( v15 == 2 ) { v22 = 1.0; } else if ( v15 == 1 ) { v22 = 0.0; } else { v22 = 0.5; } sub_10028CBE0(v26, v22, 0.5); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD *))m_label->setAnchorPoint)(m_label, v26); } if ( *((_QWORD *)a3->__begin_ + 466) ) { v23 = a2->__begin_; if ( (a2->__begin_[466].m_data.m_short.sizex2 & 1) != 0 ) v24 = v23[466].m_data.m_long.longStorage; else v24 = v23[466].m_data.m_short.shortStorage.__elems_; v25 = atoi(v24) != 0; } else { v25 = 0; } a1->m_isTimeCounter = v25; }
GD Web Decomp Icon

GD Web Decomp

Raw Source