// // ShareCommentLayer::create from 0x1001d4504 to 0x1001d4614 (272 bytes) // // 5 xrefs: // > ProfilePage::onFriend @ 0x10019afac // > ProfilePage::onComment @ 0x10019b624 // > LevelListLayer::onDescription @ 0x100244fe0 // > InfoLayer::onComment @ 0x100351960 // > LevelBrowserLayer::createNewList @ 0x10041913c // // 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 // cocos2d::CCObject *__fastcall ShareCommentLayer::create(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5) { cocos2d::CCObject *v10; // x19 int v11; // w20 void *__p[2]; // [xsp+0h] [xbp-70h] BYREF __int64 v14; // [xsp+10h] [xbp-60h] void *__dst[2]; // [xsp+20h] [xbp-50h] BYREF __int64 v16; // [xsp+30h] [xbp-40h] v10 = (cocos2d::CCObject *)operator new(0x300u); sub_1001D5E10(); if ( *(char *)(a1 + 23) < 0 ) { sub_1000097D0(__dst, *(void **)a1, *(_QWORD *)(a1 + 8)); } else { *(_OWORD *)__dst = *(_OWORD *)a1; v16 = *(_QWORD *)(a1 + 16); } if ( *(char *)(a5 + 23) < 0 ) { sub_1000097D0(__p, *(void **)a5, *(_QWORD *)(a5 + 8)); } else { *(_OWORD *)__p = *(_OWORD *)a5; v14 = *(_QWORD *)(a5 + 16); } v11 = ShareCommentLayer::init(v10, __dst, a2, a3, a4, __p); if ( SHIBYTE(v14) < 0 ) operator delete(__p[0]); if ( SHIBYTE(v16) < 0 ) { operator delete(__dst[0]); if ( v11 ) goto LABEL_11; LABEL_13: ((void (__fastcall *)(cocos2d::CCObject *))v10->~CCObject_0)(v10); return nullptr; } if ( !v11 ) goto LABEL_13; LABEL_11: cocos2d::CCObject::autorelease(v10); return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source