// // ThreadSearchPopup::onGoToDate from 0x75bf08 to 0x75bfee (230 bytes) // // 0 xrefs: // // 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:58:59 +0000 // int __fastcall ThreadSearchPopup::onGoToDate(ThreadSearchPopup *this, cocos2d::CCObject *a2, int a3, int a4) { char *v5; // r6 char *v6; // r0 char *v7; // r5 int v8; // r3 int v9; // r3 char *v10; // r3 char *v11; // r0 cocos2d::CCString *v12; // r0 const char *CString; // r8 size_t v14; // r0 int v15; // r8 ThreadSearchPopup *v17; // [sp+0h] [bp-10h] BYREF cocos2d::CCObject *v18; // [sp+4h] [bp-Ch] int v19; // [sp+8h] [bp-8h] int v20; // [sp+Ch] [bp-4h] v17 = this; v18 = a2; v19 = a3; v20 = a4; v5 = ThreadSearchPopup::fieldValue( this, *((CCTextInputNode **)this + 180), (char *)&stru_7CC.st_value, *((char **)this + 183)); v6 = ThreadSearchPopup::fieldValue(this, *((CCTextInputNode **)this + 181), (_BYTE *)&dword_0 + 1, &byte_9[3]); v7 = v6; if ( v6 == (_BYTE *)&dword_0 + 2 ) { if ( !((_DWORD)v5 << 30) && ((int)v5 % 100 || !((int)v5 % 400)) ) { v10 = (_BYTE *)(&dword_1C + 1); goto LABEL_13; } goto LABEL_7; } if ( (int)v6 > 1 ) { LABEL_7: v8 = (int)v6; if ( (int)v6 >= 12 ) v8 = 12; v9 = v8 - 1; goto LABEL_11; } v9 = 0; LABEL_11: v10 = *(char **)&word_BF0730[2 * v9 + 8]; LABEL_13: v11 = ThreadSearchPopup::fieldValue(this, *((CCTextInputNode **)this + 182), (_BYTE *)&dword_0 + 1, v10); v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%04i-%02i-%02i", v5, v7, v11, v17, v18, v19, v20); v17 = nullptr; v18 = nullptr; v19 = 0; CString = (const char *)cocos2d::CCString::getCString(v12); v14 = strlen(CString); std::string::__init((int *)&v17, CString, v14); v15 = *((_DWORD *)this + 178); (*(void (__fastcall **)(ThreadSearchPopup *, _DWORD))(*(_DWORD *)this + 684))(this, 0); ThreadViewPopup::goToDate(v15, (unsigned __int8 *)&v17); return std::string::~string((int)&v17); }
GD Web Decomp Icon

GD Web Decomp

Raw Source