//
// sub_1401945A0 from 0x1401945a0 to 0x140194689 (233 bytes)
//
// 3 xrefs:
// > EditorSoundConfigInfoLayer::init @ 0x140192b09
// > EditorSoundConfigInfoLayer::init @ 0x140193bad
// > ??> @ 0x140919388
//
// 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 11:27:44 +0000
//
__int64 __fastcall sub_1401945A0(float **a1)
{
struct cocos2d::CCSprite *v2; // rax
int v3; // ebx
cocos2d::CCObject *v4; // r14
__int64 v5; // rdi
__int64 v6; // rbx
__int64 v7; // rax
__int64 v8; // rax
char v10; // [rsp+40h] [rbp+8h] BYREF
char v11; // [rsp+48h] [rbp+10h] BYREF
v2 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_closeBtn_001.png");
v3 = (int)v2;
(*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v2 + 160LL))(v2);
v4 = CCMenuItemSpriteExtra::create(v3, 0, (int)*a1, (__int64)sub_14009D628);
*((_DWORD *)v4 + 93) = 1067030938;
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)*a1 + 69) + 464LL))(*((_QWORD *)*a1 + 69), v4);
v5 = *(_QWORD *)v4;
v6 = *((_QWORD *)*a1 + 69);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v10, (float)(*a1[1] - (float)((*a1)[183] * 0.5)) + 10.0, *a1[2] - 10.0);
cocos2d::CCNode::convertToNodeSpace(v6, &v11, v7);
return (*(__int64 (__fastcall **)(cocos2d::CCObject *, __int64))(v5 + 184))(v4, v8);
}