//
// cocos2d::CCNotificationCenter::postNotification from 0x1002730e0 to 0x100273226 (326 bytes)
//
// 21 xrefs:
// > LevelCell::onToggle @ 0x10023a829
// > CommentCell::onBulkSelectToggle @ 0x10023e210
// > GJRequestCell::onToggle @ 0x100240819
// > GJThreadCell::onToggleSelect @ 0x100240fdd
// > GJMessageCell::onToggle @ 0x1002424a9
// > cocos2d::CCNotificationCenter::postNotification_1 @ 0x100273287
// > GameLevelManager::onSendThreadMessageCompleted @ 0x10053868c
// > GameLevelManager::onUpdateThreadCompleted @ 0x10053ae6d
// > LocalLevelManager::postFileResults @ 0x1006cf658
// > sub_10092EF90 @ 0x10092efe3
// > ThreadViewPopup::keyBackClicked @ 0x100939d2f
// > sub_100939D60 @ 0x100939ddb
// > MemberListPopup::threadUpdateFinished @ 0x100943e5f
// > NewThreadPopup::threadSendFinished @ 0x100948364
// > ThreadOptionsPopup::threadUpdateFinished @ 0x10094b168
// > ThreadOptionsPopup::threadUpdateFinished @ 0x10094b2d8
// > sub_10094BAC0 @ 0x10094bbce
// > RenameThreadPopup::threadUpdateFinished @ 0x10094fd03
// > sub_1009812B0 @ 0x1009814f2
// > AccountBanPopup::onClose @ 0x10099355a
// > AccountReviewPopup::onClose @ 0x10099459b
//
// 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:27:38 +0000
//
int __fastcall cocos2d::CCNotificationCenter::postNotification(__int64 a1, const char *a2, __int64 a3)
{
unsigned int v5; // eax
__int64 v6; // r12
unsigned int *v7; // rax
_QWORD *v8; // r13
_QWORD *v9; // r15
const char *v10; // rsi
_QWORD *v11; // r12
_QWORD *v12; // rax
__int64 v13; // rdi
_QWORD *v14; // rdi
char *v15; // rax
__int64 v16; // rsi
v5 = sub_1007FEF90(*(_QWORD *)(a1 + 56));
v6 = sub_1007FEC20(v5);
LODWORD(v7) = sub_1007FEF70(v6, *(_QWORD *)(a1 + 56));
if ( v6 )
{
v7 = *(unsigned int **)(v6 + 56);
if ( *v7 )
{
v8 = *((_QWORD **)v7 + 2);
v9 = &v8[*v7 - 1];
do
{
v11 = (_QWORD *)*v8;
if ( !*v8 )
break;
if ( (*(__int64 (__fastcall **)(_QWORD))(*v11 + 104LL))(*v8) != a3 )
{
v7 = (unsigned int *)(*(__int64 (__fastcall **)(_QWORD *))(*v11 + 104LL))(v11);
if ( a3 )
{
if ( v7 )
continue;
}
}
v10 = (const char *)(*(__int64 (__fastcall **)(_QWORD *))(*v11 + 96LL))(v11);
LODWORD(v7) = strcmp(a2, v10);
if ( !(_DWORD)v7 )
{
LODWORD(v7) = (*(__int64 (__fastcall **)(_QWORD *))(*v11 + 112LL))(v11);
if ( (_DWORD)v7 )
{
v12 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager(v11);
LODWORD(v7) = (*(__int64 (__fastcall **)(_QWORD, __int64, const char *))(*(_QWORD *)*v12 + 88LL))(
*v12,
a1,
a2);
}
else
{
v13 = v11[7];
if ( v13 )
{
v14 = (_QWORD *)(v11[9] + v13);
v15 = (char *)v11[8];
if ( a3 )
{
if ( ((unsigned __int8)v15 & 1) != 0 )
v15 = *(char **)&v15[*v14 - 1];
v16 = a3;
}
else
{
if ( ((unsigned __int8)v15 & 1) != 0 )
v15 = *(char **)&v15[*v14 - 1];
v16 = v11[11];
}
LODWORD(v7) = ((__int64 (__fastcall *)(_QWORD *, __int64))v15)(v14, v16);
}
}
}
++v8;
}
while ( v8 <= v9 );
}
}
return (int)v7;
}