//
// sub_1003AE1F0 from 0x1003ae1f0 to 0x1003ae291 (161 bytes)
//
// 1 xrefs:
// > GJWorldNode::playStep1 @ 0x1003ae19a
//
// 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:29:24 +0000
//
__int64 __fastcall sub_1003AE1F0(__int64 a1, double a2)
{
__int64 v2; // r14
_OWORD *v3; // r14
__int64 v4; // rax
__int64 v5; // rax
_BYTE v7[16]; // [rsp+0h] [rbp-30h] BYREF
void *__p; // [rsp+10h] [rbp-20h]
v2 = FMODAudioEngine::sharedEngine(a2);
GJGameLevel::getAudioFileName(v7, *(_QWORD *)(a1 + 336));
FMODAudioEngine::loadMusic(v2, v7, 1, 0, 0, 0, 1.0, 0.0, 1.0);
if ( (v7[0] & 1) != 0 )
operator delete(__p);
v3 = cocos2d::CCDelayTime::create((__m128)0LL);
v4 = cocos2d::CCCallFunc::create(a1, sub_1003AE2B0, 0);
v5 = sub_10039EB60((__int64)v3, v4, 0);
return cocos2d::CCNode::runAction(a1, v5);
}