// // cocos2d::CCNotificationCenter::postNotification from 0x180096dd0 to 0x180096ed1 (257 bytes) // // 4 xrefs: // > @ 0x1801473e8 // > @ 0x18014741c // > @ 0x18014cf68 // > @ 0x1801c0768 // // 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 11:22:10 +0000 // void __fastcall cocos2d::CCNotificationCenter::postNotification(cocos2d::CCArray **this, const char *a2) { unsigned int v4; // eax struct cocos2d::CCArray *v5; // rdi unsigned int *v6; // rdi __int64 v7; // rax _QWORD *v8; // rdi _QWORD *i; // rsi __int64 v10; // rbx const char *v11; // rax struct cocos2d::CCScriptEngineManager *v12; // rax __int64 v13; // rcx v4 = cocos2d::CCArray::count(*(this + 7)); v5 = cocos2d::CCArray::createWithCapacity(v4); cocos2d::CCArray::addObjectsFromArray(v5, *(this + 7)); if ( v5 ) { v6 = *((unsigned int **)v5 + 7); v7 = *v6; if ( (_DWORD)v7 ) { v8 = *((_QWORD **)v6 + 2); for ( i = &v8[v7 - 1]; v8 <= i; ++v8 ) { v10 = *v8; if ( !*v8 ) break; if ( (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v10 + 96LL))(*v8) ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v10 + 96LL))(v10); v11 = (const char *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 88LL))(v10); if ( !strcmp(a2, v11) ) { if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v10 + 104LL))(v10) ) { v12 = cocos2d::CCScriptEngineManager::sharedManager(); (*(void (__fastcall **)(_QWORD, cocos2d::CCArray **, const char *))(**(_QWORD **)v12 + 80LL))( *(_QWORD *)v12, this, a2); } else { v13 = *(_QWORD *)(v10 + 56); if ( v13 ) (*(void (__fastcall **)(__int64, _QWORD))(v10 + 64))(v13, *(_QWORD *)(v10 + 80)); } } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source