//
// sub_100462034 from 0x100462034 to 0x100462128 (244 bytes)
//
// 2 xrefs:
// > GJPathSprite::updateState @ 0x10045f290
// > GJPathPage::unlockAnimationStep3 @ 0x100461c0c
//
// This function is hookable on this platform (idp: arm, 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 11:05:30 +0000
//
void __fastcall sub_100462034(_DWORD *a1)
{
unsigned int v2; // w8
std::string *v3; // x0
void *v4; // x20
double v5; // d0
float32x2_t v6; // [xsp+0h] [xbp-40h] BYREF
float32x2_t v7; // [xsp+8h] [xbp-38h] BYREF
float32x2_t v8; // [xsp+10h] [xbp-30h] BYREF
std::string v9; // [xsp+18h] [xbp-28h] BYREF
memset(&v9, 0, sizeof(v9));
sub_1000262BC((float *)&v8, 0.0, 1.0);
v2 = a1[149] - 1;
if ( v2 < 0xA )
{
std::string::assign(&v9, off_10096A2A8[v2]);
if ( (v9.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v3 = &v9;
else
v3 = (std::string *)v9.__r_.__value_.__r.__words[0];
v4 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)v3);
(*(void (__fastcall **)(_DWORD *, void *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v4, 1);
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v4 + 160LL))(v4, 0.55);
cocos2d::CCNode::convertToNodeSpace((__int64)a1, (__int64)&unk_1009F7640, &v6);
*(float32x2_t *)&v5 = sub_100026318(&v6, &v8, &v7);
(*(void (__fastcall **)(void *, float32x2_t *, double))(*(_QWORD *)v4 + 184LL))(v4, &v7, v5);
if ( SHIBYTE(v9.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v9.__r_.__value_.__l.__data_);
}
}