//
// GJShopLayer::exitVideoAdItems from 0x100310540 to 0x100310604 (196 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:28:38 +0000
//
void __fastcall GJShopLayer::exitVideoAdItems(__int64 a1)
{
__int64 v2; // rdi
__int64 v3; // rbx
unsigned __int64 *v4; // r14
double v5; // [rsp+0h] [rbp-30h] BYREF
unsigned __int64 v6[5]; // [rsp+8h] [rbp-28h] BYREF
v2 = *(_QWORD *)(a1 + 488);
if ( v2 )
{
if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v2 + 352LL))(v2) )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 488) + 344LL))(*(_QWORD *)(a1 + 488), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 488) + 1056LL))(*(_QWORD *)(a1 + 488), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 496) + 344LL))(*(_QWORD *)(a1 + 496), 0);
v3 = *(_QWORD *)(a1 + 512);
v4 = (unsigned __int64 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 192LL))(v3);
sub_100278250((float *)v6, -50.0, 0.0);
sub_100278350(&v5, v4, v6);
(*(void (__fastcall **)(__int64, double *))(*(_QWORD *)v3 + 184LL))(v3, &v5);
}
}
}