//
// EditorUI::getSpriteButton_2 from 0x100007ca0 to 0x100007d9e (254 bytes)
//
// 27 xrefs:
// > EditorUI::init @ 0x10000580c
// > EditorUI::init @ 0x10000589c
// > EditorUI::init @ 0x100005928
// > EditorUI::init @ 0x1000059b8
// > EditorUI::init @ 0x100005c02
// > EditorUI::init @ 0x100005d05
// > EditorUI::init @ 0x100005d2f
// > EditorUI::createMoveMenu @ 0x10063916c
// > EditorUI::createMoveMenu @ 0x1006391a7
// > EditorUI::createMoveMenu @ 0x1006391e2
// > EditorUI::createMoveMenu @ 0x10063921d
// > EditorUI::createMoveMenu @ 0x100639258
// > EditorUI::createMoveMenu @ 0x100639293
// > EditorUI::createMoveMenu @ 0x1006392ce
// > EditorUI::createMoveMenu @ 0x100639309
// > EditorUI::createMoveMenu @ 0x100639344
// > EditorUI::createMoveMenu @ 0x10063937f
// > EditorUI::createMoveMenu @ 0x1006393ba
// > EditorUI::createMoveMenu @ 0x1006393f5
// > EditorUI::createMoveMenu @ 0x10063942f
// > EditorUI::createMoveMenu @ 0x10063946a
// > EditorUI::createMoveMenu @ 0x1006394ac
// > EditorUI::createMoveMenu @ 0x1006394eb
// > EditorUI::createMoveMenu @ 0x1006395c3
// > EditorUI::createMoveMenu @ 0x1006395fe
// > EditorUI::createMoveMenu @ 0x100639639
// > EditorUI::createMoveMenu @ 0x100639674
//
// 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:18:48 +0000
//
float *__fastcall EditorUI::getSpriteButton_2(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, float a6)
{
__int64 v8; // r13
__int64 v9; // r13
float *v10; // r14
_BYTE v12[8]; // [rsp+0h] [rbp-50h] BYREF
_BYTE v13[8]; // [rsp+8h] [rbp-48h] BYREF
_BYTE v14[8]; // [rsp+10h] [rbp-40h] BYREF
__int64 v15; // [rsp+18h] [rbp-38h]
float v16; // [rsp+24h] [rbp-2Ch]
v16 = a6;
v15 = a4;
sub_1002782D0(v13, &qword_100BE0DD8);
v8 = cocos2d::CCSprite::createWithSpriteFrameName(a2);
sub_1002782D0(v14, v13);
v9 = ButtonSprite::create(v8, 32, 0, 1, "GJ_button_01.png", 1, 32.0, 1.0, 0.0);
v10 = (float *)CCMenuItemSpriteExtra::create(v9, 0, a1, a3, v15);
(*(void (__fastcall **)(float *, float))(*(_QWORD *)v10 + 160LL))(v10, v16);
v10[101] = v16;
if ( a5 )
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a5 + 456LL))(a5, v10);
sub_1002782D0(v12, v14);
ButtonSprite::updateSpriteOffset(v9, v12);
return v10;
}