// // HSVWidgetPopup::create from 0x8e258c to 0x8e2778 (492 bytes) // // 5 xrefs: // > CustomizeObjectLayer::onHSV @ 0x840ab8 // > CustomizeObjectLayer::onHSV @ 0x840b8c // > SetupAreaTintTriggerPopup::onHSV @ 0xa09224 // > SetupEnterEffectPopup::onHSV @ 0xa13074 // > @ 0x826c8 // // 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 // __int64 __fastcall HSVWidgetPopup::create(__int64 a1, __int64 a2, __int64 a3) { __int64 v6; // x19 int v7; // w20 void *v8; // x0 __int64 v9; // x1 __int64 v10; // x0 unsigned int *v12; // x2 int v13; // w1 __int64 v14; // [xsp+60h] [xbp+60h] BYREF v6 = operator new(0x288u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v6); *(_DWORD *)(v6 + 616) = -1; *(_DWORD *)(v6 + 624) = -1; *(_QWORD *)(v6 + 544) = 0; *(_QWORD *)(v6 + 552) = 0; *(_QWORD *)(v6 + 560) = 0; *(_BYTE *)(v6 + 568) = 0; *(_QWORD *)(v6 + 576) = 0; *(_DWORD *)(v6 + 584) = 0; *(_BYTE *)(v6 + 588) = 0; *(_QWORD *)(v6 + 592) = 0; *(_QWORD *)(v6 + 600) = 0; *(_QWORD *)(v6 + 608) = 0; *(_BYTE *)(v6 + 620) = 0; *(_BYTE *)(v6 + 621) = 0; *(_BYTE *)(v6 + 628) = 0; *(_QWORD *)(v6 + 408) = &off_11A06F0; *(_QWORD *)v6 = &off_11A00E0; *(_QWORD *)(v6 + 432) = &off_11A0770; *(_QWORD *)(v6 + 320) = off_11A0600; *(_QWORD *)(v6 + 328) = &off_11A0670; *(_QWORD *)(v6 + 336) = &off_11A0688; *(_QWORD *)(v6 + 344) = &off_11A06A8; *(_QWORD *)(v6 + 352) = off_11A06C8; sub_D18D28(&v14); v7 = (unsigned __int8)HSVWidgetPopup::init(v6, a1, a2, a3, &v14); v8 = (void *)(v14 - 24); if ( (__int64 *)(v14 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v12 = (unsigned int *)(v14 - 8); do v13 = __ldaxr(v12); while ( __stlxr(v13 - 1, v12) ); } else { v13 = *(_DWORD *)(v14 - 8); *(_DWORD *)(v14 - 8) = v13 - 1; } if ( v13 <= 0 ) operator delete(v8); } if ( v7 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6); } else { v9 = *(_QWORD *)v6; v10 = v6; v6 = 0; (*(void (__fastcall **)(__int64))(v9 + 16))(v10); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source