// // sub_1400FAF60 from 0x1400faf60 to 0x1400fafe1 (129 bytes) // // 2 xrefs: // > ThreadSearchPopup::clampDayField @ 0x1400fbb74 // > ThreadSearchPopup::onGoToDate @ 0x1400fc63f // // This function is hookable on this platform (idp: pc, 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 11:26:40 +0000 // __int64 __fastcall sub_1400FAF60(int a1, int a2) { __int64 v2; // r8 v2 = (unsigned int)a2; if ( a2 == 2 && !(a1 % 4) && (a1 != 100 * (a1 / 100) || a1 == 400 * (a1 / 400)) ) return 29; if ( a2 > 12 ) v2 = 12; if ( (int)v2 < 1 ) v2 = 1; return dword_140729358[v2 - 1]; }
GD Web Decomp Icon

GD Web Decomp

Raw Source