// // cocos2d::CCNotificationCenter::postNotification from 0xd8efcc to 0xd8f0ec (288 bytes) // // 21 xrefs: // > Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit @ 0x63f9e8 // > GJThreadCell::onToggleSelect @ 0x734f38 // > LevelCell::onToggle @ 0x734f74 // > GJRequestCell::onToggle @ 0x734fb0 // > GJMessageCell::onToggle @ 0x734fe4 // > CommentCell::onBulkSelectToggle @ 0x735038 // > GameLevelManager::onSendThreadMessageCompleted @ 0x81138c // > GameLevelManager::onUpdateThreadCompleted @ 0x839a40 // > LocalLevelManager::postFileResults @ 0x911098 // > AccountReviewPopup::onClose @ 0xc3f3e8 // > AutoBackupPopup::onRestore @ 0xc532c0 // > ThreadViewPopup::onClose @ 0xc63254 // > InvitesPopup::~InvitesPopup @ 0xc63b08 // > ThreadOptionsPopup::threadUpdateFinished @ 0xc781e4 // > RenameThreadPopup::threadUpdateFinished @ 0xc79bb8 // > MemberListPopup::threadUpdateFinished @ 0xc7ceec // > NewThreadPopup::threadSendFinished @ 0xc88028 // > AccountBanPopup::onClose @ 0xc90504 // > Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeOnPause @ 0xd806f0 // > cocos2d::CCNotificationCenter::postNotification @ 0xd8f0f0 // > @ 0x76888 // // 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 13:08:17 +0000 // __int64 __fastcall cocos2d::CCNotificationCenter::postNotification( cocos2d::CCArray **this, const char *a2, cocos2d::CCObject *a3) { cocos2d::CCArray *v6; // x0 cocos2d::CCArray *v7; // x19 __int64 result; // x0 unsigned int *v9; // x1 char *v10; // x20 char *v11; // x21 _QWORD *v12; // x19 const char *v13; // x0 cocos2d::CCScriptEngineManager *v14; // x0 _QWORD *v15; // x0 v6 = (cocos2d::CCArray *)cocos2d::CCArray::count(*(this + 7)); v7 = cocos2d::CCArray::createWithCapacity(v6); result = cocos2d::CCArray::addObjectsFromArray(v7, *(this + 7)); if ( v7 ) { v9 = *((unsigned int **)v7 + 7); result = *v9; if ( (_DWORD)result ) { v10 = *((char **)v9 + 2); result = 8LL * (unsigned int)result - 8; v11 = &v10[result]; while ( v11 >= v10 ) { v12 = *(_QWORD **)v10; if ( !*(_QWORD *)v10 ) break; if ( a3 != (cocos2d::CCObject *)(*(__int64 (__fastcall **)(_QWORD))(*v12 + 104LL))(*(_QWORD *)v10) ) { result = (*(__int64 (__fastcall **)(_QWORD *))(*v12 + 104LL))(v12); if ( result ) { if ( a3 ) continue; } } v13 = (const char *)(*(__int64 (__fastcall **)(_QWORD *))(*v12 + 96LL))(v12); result = strcmp(a2, v13); if ( !(_DWORD)result ) { v14 = (cocos2d::CCScriptEngineManager *)(*(__int64 (__fastcall **)(_QWORD *))(*v12 + 112LL))(v12); if ( (_DWORD)v14 ) { v15 = cocos2d::CCScriptEngineManager::sharedManager(v14); result = (*(__int64 (__fastcall **)(_QWORD, cocos2d::CCArray **, const char *))(*(_QWORD *)*v15 + 88LL))( *v15, this, a2); } else { result = (__int64)cocos2d::CCNotificationObserver::performSelector(v12, a3); } } v10 += 8; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source