// // cocos2d::extension::CCEditBoxImplWin::~CCEditBoxImplWin from 0x180011700 to 0x1800117c0 (192 bytes) // // 4 xrefs: // > sub_1800115B0 @ 0x180011612 // > sub_1800115B0 @ 0x1800115cc // > @ 0x18002fdf8 // > @ 0x18004a2a8 // // 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 cocos2d::extension::CCEditBoxImplWin::~CCEditBoxImplWin(cocos2d::extension::CCEditBoxImplWin *this) { unsigned __int64 v2; // rdx _QWORD *v3; // rcx unsigned __int64 v4; // rdx void *v5; // rcx *(_QWORD *)this = &cocos2d::extension::CCEditBoxImplWin::`vftable'; v2 = *((_QWORD *)this + 14); if ( v2 > 0xF ) { v3 = *((_QWORD **)this + 11); if ( v2 + 1 >= 0x1000 ) { if ( (unsigned __int64)v3 - *(v3 - 1) - 8 > 0x1F ) goto LABEL_12; v3 = (_QWORD *)*(v3 - 1); } j_j_free(v3); } *((_QWORD *)this + 13) = 0; *((_QWORD *)this + 14) = 15; *((_BYTE *)this + 88) = 0; v4 = *((_QWORD *)this + 10); if ( v4 > 0xF ) { v5 = *((void **)this + 7); if ( v4 + 1 < 0x1000 ) { LABEL_10: j_j_free(v5); goto LABEL_11; } if ( (unsigned __int64)v5 - *((_QWORD *)v5 - 1) - 8 <= 0x1F ) { v5 = *((void **)v5 - 1); goto LABEL_10; } LABEL_12: invalid_parameter_noinfo_noreturn(); } LABEL_11: *((_QWORD *)this + 9) = 0; *((_QWORD *)this + 10) = 15; *((_BYTE *)this + 56) = 0; *(_QWORD *)this = &cocos2d::extension::CCEditBoxImpl::`vftable'; }