// // std::vector>::push_back from 0x5cd5f4 to 0x5cd64a (86 bytes) // // 4 xrefs: // > cocos2d::CCLabelBMFont::updateLabel @ 0x5cd8c8 // > cocos2d::CCLabelBMFont::updateLabel @ 0x5cd916 // > cocos2d::CCLabelBMFont::updateLabel @ 0x5cd990 // > cocos2d::CCLabelBMFont::updateLabel @ 0x5cdb40 // // 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 std::vector::push_back(void **a1, _WORD *a2) { _WORD *v3; // r3 unsigned int v5; // r7 char *v6; // r5 void *v7; // r0 int v8; // r1 int v9; // r3 int v10; // r6 v3 = a1[1]; if ( v3 == a1[2] ) { v5 = std::vector::_M_check_len(a1, 1u, (int)"vector::_M_emplace_back_aux"); v6 = (char *)sub_5CBA18(v5); v7 = *a1; v8 = (int)a1[1]; v9 = v8 - (_DWORD)*a1; if ( &v6[v9] ) *(_WORD *)&v6[v9] = *a2; v10 = std::__copy_move::__copy_m(v7, v8, v6) + 2; if ( *a1 ) operator delete(*a1); *a1 = v6; a1[1] = (void *)v10; a1[2] = &v6[2 * v5]; } else { if ( v3 ) *v3 = *a2; a1[1] = v3 + 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source