// // ThreadSearchPopup::onGoToDate from 0xc867f0 to 0xc869a8 (440 bytes) // // 3 xrefs: // > @ 0x100318 // > ThreadSearchPopup::init @ 0xc70048 // > @ 0x1547d18 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:05:42 +0000 // __int64 __fastcall ThreadSearchPopup::onGoToDate(ThreadSearchPopup *this, cocos2d::CCObject *a2) { signed int v3; // w22 int v4; // w0 unsigned int v5; // w21 int v6; // w2 int v7; // w2 int v8; // w3 unsigned int v9; // w0 cocos2d::CCString *v10; // x0 const char *CString; // x0 size_t v12; // x0 __int64 v13; // x2 ThreadSearchPopup *v14; // x0 __int64 v15; // x19 char *v17; // [xsp+48h] [xbp+48h] __int64 v18[2]; // [xsp+50h] [xbp+50h] BYREF void *v19; // [xsp+60h] [xbp+60h] v3 = ThreadSearchPopup::fieldValue(this, *((CCTextInputNode **)this + 129), 0x7D0u, *((_DWORD *)this + 264)); v4 = ThreadSearchPopup::fieldValue(this, *((CCTextInputNode **)this + 130), 1u, 12); v5 = v4; if ( v4 != 2 ) { if ( v4 <= 1 ) { v7 = 0; LABEL_7: v8 = dword_119E670[v7]; goto LABEL_8; } LABEL_3: if ( v4 > 12 ) v6 = 12; else v6 = v4; v7 = v6 - 1; goto LABEL_7; } if ( (v3 & 3) != 0 ) goto LABEL_3; v8 = 29; if ( !(v3 % 100) ) { if ( v3 % 400 ) goto LABEL_3; } LABEL_8: v9 = ThreadSearchPopup::fieldValue(this, *((CCTextInputNode **)this + 131), 1u, v8); v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%04i-%02i-%02i", (const char *)(unsigned int)v3, v5, v9); CString = (const char *)cocos2d::CCString::getCString(v10); v18[0] = 0; v17 = (char *)CString; v18[1] = 0; v19 = nullptr; v12 = strlen(CString); std::string::__init(v18, v17, v12); v13 = *(_QWORD *)this; v14 = this; v15 = *((_QWORD *)this + 127); (*(void (__fastcall **)(ThreadSearchPopup *, _QWORD))(v13 + 1368))(v14, 0); ThreadViewPopup::goToDate(v15, (__int64)v18); if ( (v18[0] & 1) != 0 ) operator delete(v19); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source