//
// EffectGameObject::updateInteractiveHover from 0x4e83b4 to 0x4e8490 (220 bytes)
//
// 2 xrefs:
// > PlayLayer::updateVisibility @ 0x407076
// > LevelEditorLayer::updateVisibility @ 0x462e64
//
// 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:51:06 +0000
//
int __fastcall EffectGameObject::updateInteractiveHover(int this, float a2)
{
int v2; // r4
int v4; // r7
const cocos2d::CCSize *v5; // r0
void (__fastcall *v6)(int, _BYTE *); // r8
int v7; // r4
int (__fastcall *v8)(int, _BYTE *); // r7
float v9; // [sp+4h] [bp-14h] BYREF
float v10; // [sp+8h] [bp-10h]
_BYTE v11[8]; // [sp+Ch] [bp-Ch] BYREF
v2 = this;
if ( !*(_BYTE *)(this + 658) && *(_DWORD *)(this + 892) != 1614 && !*(_BYTE *)(this + 1520) )
{
this = (*(int (__fastcall **)(int, int))(*(_DWORD *)this + 240))(this, 1);
v4 = this;
if ( this )
{
v5 = (const cocos2d::CCSize *)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 164))(v2);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v9, v5);
v6 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v4 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, v9 * 0.5, a2 + (float)(v10 * 0.5));
v6(v4, v11);
this = (*(int (__fastcall **)(int, int))(*(_DWORD *)v2 + 240))(v2, 2);
v7 = this;
if ( this )
{
v8 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)this + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, v9 * 0.5, a2 + (float)(v10 * 0.5));
return v8(v7, v11);
}
}
}
return this;
}