//
// sub_1004AA430 from 0x1004aa430 to 0x1004aa46b (59 bytes)
//
// 86 xrefs:
// > ??> @ 0x100abaa00
// > ??> @ 0x100abb190
// > ??> @ 0x100ac3f98
// > ??> @ 0x100ac4630
// > ??> @ 0x100ac5240
// > ??> @ 0x100ac5800
// > ??> @ 0x100ac5ef8
// > ??> @ 0x100ade9e0
// > ??> @ 0x100ae7ae0
// > ??> @ 0x100ae8070
// > ??> @ 0x100ae8600
// > ??> @ 0x100ae8b90
// > ??> @ 0x100ae9120
// > ??> @ 0x100ae96d0
// > ??> @ 0x100ae9cd8
// > ??> @ 0x100aea2e8
// > ??> @ 0x100aea8a8
// > ??> @ 0x100aeae38
// > ??> @ 0x100aeb3d8
// > ??> @ 0x100aeb9a0
// > ??> @ 0x100aebf48
// > ??> @ 0x100aec4d8
// > ??> @ 0x100aeca68
// > ??> @ 0x100aecff8
// > ??> @ 0x100aed588
// > ??> @ 0x100aedb20
// > ??> @ 0x100aee0e8
// > ??> @ 0x100aee6c8
// > ??> @ 0x100aeec58
// > ??> @ 0x100aef1e8
// > ??> @ 0x100aef7d0
// > ??> @ 0x100af6120
// > ??> @ 0x100af6708
// > ??> @ 0x100afe758
// > ??> @ 0x100affda8
// > ??> @ 0x100b0e368
// > ??> @ 0x100b16c80
// > ??> @ 0x100b17288
// > ??> @ 0x100b17818
// > ??> @ 0x100b1d900
// > ??> @ 0x100b1e848
// > ??> @ 0x100b1ef58
// > ??> @ 0x100b236b0
// > ??> @ 0x100b23d28
// > ??> @ 0x100b27e70
// > ??> @ 0x100b28518
// > ??> @ 0x100b2af28
// > ??> @ 0x100b2f038
// > ??> @ 0x100b30310
// > ??> @ 0x100b31e98
// > ??> @ 0x100b36748
// > ??> @ 0x100b37cd0
// > ??> @ 0x100b3bdf8
// > ??> @ 0x100b414f8
// > ??> @ 0x100b43f58
// > ??> @ 0x100b44e18
// > ??> @ 0x100b45910
// > ??> @ 0x100b45f38
// > ??> @ 0x100b46540
// > ??> @ 0x100b4e0e0
// > ??> @ 0x100b50850
// > ??> @ 0x100b50e60
// > ??> @ 0x100b51460
// > ??> @ 0x100b538f8
// > ??> @ 0x100b53f40
// > ??> @ 0x100b54540
// > ??> @ 0x100b54be8
// > ??> @ 0x100b55218
// > ??> @ 0x100b559a8
// > ??> @ 0x100b6b838
// > ??> @ 0x100b72418
// > ??> @ 0x100b85bc8
// > ??> @ 0x100b89868
// > ??> @ 0x100b8c910
// > ??> @ 0x100b8ced0
// > ??> @ 0x100b8d480
// > ??> @ 0x100b90868
// > ??> @ 0x100b97960
// > ??> @ 0x100b97f30
// > ??> @ 0x100b99a00
// > ??> @ 0x100ba65f8
// > ??> @ 0x100ba6c60
// > ??> @ 0x100babb58
// > ??> @ 0x100bb59a0
// > ??> @ 0x100bcddc0
// > ??> @ 0x100bcee98
//
// 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:30:56 +0000
//
void __fastcall sub_1004AA430(__int64 a1, __int64 a2)
{
_QWORD *v2; // rax
if ( *(_DWORD *)(a1 - 20) )
{
v2 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, __int64, __int64, __int64))(*(_QWORD *)*v2 + 120LL))(*v2, a1 - 320, 2, a2);
}
}