//
// OptionsLayer::onRate from 0x1403734d0 to 0x14037353c (108 bytes)
//
// 2 xrefs:
// > OptionsLayer::customSetup @ 0x140371f57
// > ??> @ 0x1406d5b28
//
// 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
//
// Hidden C++ exception states: #wind=2
void OptionsLayer::onRate(OptionsLayer *a1, cocos2d::CCObject *a2)
{
__int64 v2; // rbx
__int64 v3; // rax
void *v4; // [rsp+40h] [rbp+18h]
v2 = qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v4 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00((__int64)v4);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v2 = qword_1406C2ED8;
}
v3 = cocos2d::CCApplication::sharedApplication(a1, a2);
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v3 + 88LL))(
v3,
"https://store.steampowered.com/recommended/recommendgame/322170");
*(_BYTE *)(v2 + 676) = 1;
*(_BYTE *)(v2 + 1004) = 1;
}