//
// TextAlertPopup::inheritOpacity from 0x5d4c44 to 0x5d4c98 (84 bytes)
//
// 1 xrefs:
// > TextAlertPopup::replaceIn @ 0x5d4cca
//
// 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:08 +0000
//
_DWORD *__fastcall TextAlertPopup::inheritOpacity(_DWORD *result, int a2)
{
_DWORD *v2; // r6
int v4; // r4
int (__fastcall *v5)(int, int); // r7
int v6; // r0
int v7; // r4
int (__fastcall *v8)(int, int); // r5
int v9; // r0
v2 = result;
if ( a2 )
{
v4 = result[68];
if ( v4 )
{
result = *(_DWORD **)(a2 + 272);
if ( result )
{
v5 = *(int (__fastcall **)(int, int))(*(_DWORD *)v4 + 512);
v6 = (*(int (__fastcall **)(_DWORD *))(*result + 504))(result);
result = (_DWORD *)v5(v4, v6);
}
}
v7 = v2[69];
if ( v7 )
{
result = *(_DWORD **)(a2 + 276);
if ( result )
{
v8 = *(int (__fastcall **)(int, int))(*(_DWORD *)v7 + 456);
v9 = (*(int (__fastcall **)(_DWORD *))(*result + 448))(result);
return (_DWORD *)v8(v7, v9);
}
}
}
return result;
}