//
// DemonFilterSelectLayer::onClose from 0x7dd984 to 0x7dd9dc (88 bytes)
//
// 4 xrefs:
// > DemonFilterSelectLayer::keyBackClicked @ 0x7dd9e0
// > ??> @ 0x4a2d8
// > DemonFilterSelectLayer::init @ 0x7e4938
// > ??> @ 0x1541760
//
// 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 12:54:24 +0000
//
__int64 (__fastcall ***__fastcall DemonFilterSelectLayer::onClose(
DemonFilterSelectLayer *this,
cocos2d::CCObject *a2))(_QWORD, _QWORD)
{
__int64 (__fastcall ***result)(_QWORD, _QWORD); // x0
(*(void (__fastcall **)(DemonFilterSelectLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
(*(void (__fastcall **)(DemonFilterSelectLayer *, __int64))(*(_QWORD *)this + 528LL))(this, 1);
result = *((__int64 (__fastcall ****)(_QWORD, _QWORD))this + 86);
if ( result )
return (__int64 (__fastcall ***)(_QWORD, _QWORD))(**result)(result, *((unsigned int *)this + 170));
return result;
}