// // cocos2d::CCNotificationObserver::CCNotificationObserver from 0x5ead60 to 0x5eadfc (156 bytes) // // 2 xrefs: // > cocos2d::CCNotificationCenter::addObserver @ 0x5eae34 // > cocos2d::CCNotificationCenter::registerScriptObserver @ 0x5eae82 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Alternative name is '_ZN7cocos2d22CCNotificationObserverC1EPNS_8CCObjectEMS1_FvS2_EPKcS2_' int __fastcall cocos2d::CCNotificationObserver::CCNotificationObserver( int a1, int a2, int a3, int a4, char *a5, int a6) { size_t v8; // r0 void *v9; // r7 size_t v10; // r0 size_t v11; // r0 _BYTE v15[4]; // [sp+10h] [bp-Ch] BYREF cocos2d::CCObject::CCObject((cocos2d::CCObject *)a1); *(_DWORD *)(a1 + 52) = a2; *(_DWORD *)a1 = &off_AADBB8; *(_DWORD *)(a1 + 56) = a3; *(_DWORD *)(a1 + 60) = a4; *(_DWORD *)(a1 + 68) = a6; v8 = strlen(a5); v9 = (void *)operator new[](v8 + 1); *(_DWORD *)(a1 + 64) = v9; v10 = strlen(a5); memset(v9, 0, v10 + 1); sub_776584((int)v15, a5); v11 = strlen(a5); sub_774748((int)v15, *(void **)(a1 + 64), v11); *(_DWORD *)(a1 + 72) = 0; sub_774008(v15); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source