// // HSVWidgetPopup::create from 0x5e6070 to 0x5e6230 (448 bytes) // // 4 xrefs: // > CustomizeObjectLayer::onHSV @ 0x5811a4 // > CustomizeObjectLayer::onHSV @ 0x5811f6 // > SetupAreaTintTriggerPopup::onHSV @ 0x68f130 // > SetupEnterEffectPopup::onHSV @ 0x695420 // // 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:54:19 +0000 // int __fastcall HSVWidgetPopup::create(int a1, int a2, int a3, int a4, int a5, int a6, char *a7) { int v7; // r4 char v8; // r3 int v9; // r1 int v10; // r2 GameManager *v11; // r5 int v12; // r3 int v13; // r0 unsigned int v15; // [sp+4h] [bp-30h] int v20; // [sp+20h] [bp-14h] BYREF int v21; // [sp+24h] [bp-10h] int v22; // [sp+28h] [bp-Ch] v7 = operator new(0x210u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v7); *(_DWORD *)v7 = &off_C86768; *(_DWORD *)(v7 + 264) = &off_C86A10; *(_DWORD *)(v7 + 268) = &off_C86A48; *(_DWORD *)(v7 + 272) = &off_C86A54; *(_DWORD *)(v7 + 276) = &off_C86A64; *(_DWORD *)(v7 + 280) = &off_C86A78; *(_DWORD *)(v7 + 316) = &off_C86A90; *(_DWORD *)(v7 + 332) = &off_C86AD0; *(_DWORD *)(v7 + 440) = &off_C86AE0; *(_DWORD *)(v7 + 444) = 0; *(_DWORD *)(v7 + 448) = 0; *(_DWORD *)(v7 + 452) = 0; *(_BYTE *)(v7 + 456) = 0; *(_DWORD *)(v7 + 460) = 0; *(_DWORD *)(v7 + 464) = 0; *(_BYTE *)(v7 + 468) = 0; *(_BYTE *)(v7 + 469) = 0; *(_BYTE *)(v7 + 470) = 0; *(_BYTE *)(v7 + 471) = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 472)); *(_DWORD *)(v7 + 492) = -1; *(_DWORD *)(v7 + 500) = -1; *(_DWORD *)(v7 + 508) = 0; *(_DWORD *)(v7 + 512) = 0; *(_DWORD *)(v7 + 480) = 0; *(_DWORD *)(v7 + 484) = 0; *(_DWORD *)(v7 + 488) = 0; *(_DWORD *)v7 = &off_CBCB78; *(_BYTE *)(v7 + 496) = 0; *(_BYTE *)(v7 + 497) = 0; *(_BYTE *)(v7 + 504) = 0; *(_BYTE *)(v7 + 516) = 0; *(_DWORD *)(v7 + 264) = &off_CBCE20; *(_DWORD *)(v7 + 268) = &off_CBCE58; *(_DWORD *)(v7 + 272) = &off_CBCE64; *(_DWORD *)(v7 + 276) = &off_CBCE74; *(_DWORD *)(v7 + 280) = &off_CBCE88; *(_DWORD *)(v7 + 316) = &off_CBCEA0; *(_DWORD *)(v7 + 332) = &off_CBCEE0; *(_DWORD *)(v7 + 440) = &off_CBCEF0; v8 = *a7; v20 = 0; v21 = 0; v22 = 0; if ( (v8 & 1) != 0 ) { std::string::__init(&v20, *((const void **)a7 + 2), *((_DWORD *)a7 + 1)); } else { v9 = *((_DWORD *)a7 + 1); v10 = *((_DWORD *)a7 + 2); v20 = *(_DWORD *)a7; v21 = v9; v22 = v10; } LOWORD(v15) = a5; BYTE2(v15) = BYTE2(a5); v11 = HSVWidgetPopup::init(v7, a1, a2, a3, a4, v15, a6, &v20); std::string::~string((int)&v20); if ( v11 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7); } else { v12 = *(_DWORD *)v7; v13 = v7; v7 = 0; (*(void (__fastcall **)(int))(v12 + 8))(v13); } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source