//
// sub_100469018 from 0x100469018 to 0x1004691c4 (428 bytes)
//
// 1 xrefs:
// > sub_100467BDC @ 0x100468138
//
// 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:33 +0000
//
__int64 __fastcall sub_100469018(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x20
__int64 v3; // x0
char *v4; // x1
__int64 v5; // x0
_QWORD *v6; // x20
__int64 v7; // x8
char *v8; // x1
_QWORD *v9; // x20
unsigned int *v10; // x0
void *v11[2]; // [xsp+0h] [xbp-40h] BYREF
char v12; // [xsp+17h] [xbp-29h]
void *__p[2]; // [xsp+18h] [xbp-28h] BYREF
char v14; // [xsp+2Fh] [xbp-11h]
if ( *(_QWORD *)(result + 712) )
{
v1 = result;
*(_BYTE *)(result + 800) ^= 1u;
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(result + 768) + 1072LL))(*(_QWORD *)(result + 768));
v3 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
if ( *(_BYTE *)(v1 + 800) )
v4 = "gj_findBtnOff_001.png";
else
v4 = "gj_findBtn_001.png";
v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v3, v4);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1160LL))(v2, v5);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 784) + 344LL))(
*(_QWORD *)(v1 + 784),
*(unsigned __int8 *)(v1 + 800));
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 776) + 344LL))(
*(_QWORD *)(v1 + 776),
*(unsigned __int8 *)(v1 + 800));
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 776) + 1000LL))(
*(_QWORD *)(v1 + 776),
*(unsigned __int8 *)(v1 + 800));
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 792) + 344LL))(
*(_QWORD *)(v1 + 792),
*(unsigned __int8 *)(v1 + 800));
sub_1004698DC(v1);
v6 = *(_QWORD **)(v1 + 776);
if ( *(_BYTE *)(v1 + 800) == 1 )
{
v7 = *(_QWORD *)(v1 + 712);
v8 = (char *)(v7 + 104);
if ( *(char *)(v7 + 127) < 0 )
v8 = *(char **)v8;
sub_100009900(__p, v8);
CCTextInputNode::setString(v6, (__int64 *)__p);
if ( v14 < 0 )
operator delete(__p[0]);
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v1 + 776) + 1160LL))(*(_QWORD *)(v1 + 776), 1);
}
else
{
(*(void (__fastcall **)(_QWORD, _QWORD))(*v6 + 1160LL))(*(_QWORD *)(v1 + 776), 0);
v9 = *(_QWORD **)(v1 + 776);
sub_100009900(v11, "");
CCTextInputNode::setString(v9, (__int64 *)v11);
if ( v12 < 0 )
operator delete(v11[0]);
std::string::assign((std::string *)(*(_QWORD *)(v1 + 712) + 104LL), "");
v10 = *(unsigned int **)(v1 + 712);
v10[24] = 0;
sub_1001E45F4(v10);
return sub_100469F94(v1);
}
}
return result;
}