// // SetupItemCompareTriggerPopup::updateOpButton from 0x10040e724 to 0x10040e824 (256 bytes) // // 2 xrefs: // > SetupItemCompareTriggerPopup::init @ 0x10040e300 // > SetupItemCompareTriggerPopup::onOpButton @ 0x10040e70c // // 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 SetupItemCompareTriggerPopup::updateOpButton( SetupItemCompareTriggerPopup *a1, CCMenuItemSpriteExtra *a2, int a3, int a4) { __int64 v6; // x19 char *v7; // x1 void **v8; // x1 __int128 v9; // [xsp+8h] [xbp-58h] BYREF __int64 v10; // [xsp+18h] [xbp-48h] void *__p[2]; // [xsp+20h] [xbp-40h] BYREF __int64 v12; // [xsp+30h] [xbp-30h] v6 = *(_QWORD *)(((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a2->getNormalImage)(a2) + 624); if ( a4 == 482 ) { sub_10040D280(a3, &v9); } else if ( (unsigned int)(a4 - 485) > 1 ) { if ( (a4 & 0xFFFFFFFE) == 0x242 ) { if ( (unsigned int)a3 > 2 ) v7 = "?"; else v7 = off_100821BA0[a3]; sub_100009900(&v9, v7); } else { sub_10040D254(a3, &v9); } } else { sub_10040D2AC(a3, 0, &v9); } *(_OWORD *)__p = v9; v12 = v10; if ( v10 >= 0 ) v8 = __p; else v8 = (void **)v9; (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v6 + 912LL))(v6, v8); if ( SHIBYTE(v12) < 0 ) operator delete(__p[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source