// // ShareCommentLayer::create from 0x90fe90 to 0x9101b4 (804 bytes) // // 7 xrefs: // > LevelBrowserLayer::createNewList @ 0x7f6548 // > InfoLayer::onComment @ 0x90855c // > ProfilePage::onComment @ 0xa552b8 // > ProfilePage::onFriend @ 0xa56acc // > MPLobbyLayer::onComment @ 0xb059f4 // > LevelListLayer::onDescription @ 0xba95fc // > @ 0xb1790 // // 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 12:57:16 +0000 // __int64 __fastcall ShareCommentLayer::create(char *a1, int a2, unsigned int a3, int a4, char *a5) { __int64 v10; // x19 char v11; // w0 __int64 v12; // x0 __int64 v13; // x1 char v14; // w0 __int64 v15; // x0 __int64 v16; // x1 int v17; // w21 __int64 v18; // x1 __int64 v19; // x0 __int64 v21; // [xsp+58h] [xbp+58h] BYREF __int64 v22; // [xsp+60h] [xbp+60h] void *v23; // [xsp+68h] [xbp+68h] __int64 v24; // [xsp+70h] [xbp+70h] BYREF __int64 v25; // [xsp+78h] [xbp+78h] void *v26; // [xsp+80h] [xbp+80h] v10 = operator new(0x330u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v10); *(_QWORD *)(v10 + 552) = 0; *(_QWORD *)v10 = &off_1419A40; *(_QWORD *)(v10 + 320) = off_1419F90; *(_QWORD *)(v10 + 328) = &off_141A000; *(_QWORD *)(v10 + 336) = off_141A018; *(_QWORD *)(v10 + 344) = off_141A038; *(_QWORD *)(v10 + 352) = off_141A060; *(_QWORD *)(v10 + 408) = &off_141A090; *(_QWORD *)(v10 + 432) = &off_141A110; *(_QWORD *)(v10 + 544) = off_141A130; *(_QWORD *)(v10 + 560) = 0; *(_QWORD *)(v10 + 568) = 0; *(_BYTE *)(v10 + 576) = 0; *(_QWORD *)(v10 + 584) = 0; *(_DWORD *)(v10 + 592) = 0; *(_BYTE *)(v10 + 596) = 0; *(_BYTE *)(v10 + 597) = 0; *(_BYTE *)(v10 + 598) = 0; *(_BYTE *)(v10 + 599) = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v10 + 600)); *(_DWORD *)(v10 + 632) = -1; *(_DWORD *)(v10 + 640) = -1; *(_QWORD *)(v10 + 608) = 0; *(_QWORD *)(v10 + 616) = 0; *(_QWORD *)(v10 + 624) = 0; *(_BYTE *)(v10 + 636) = 0; *(_BYTE *)(v10 + 637) = 0; *(_BYTE *)(v10 + 644) = 0; *(_BYTE *)(v10 + 656) = 0; *(_DWORD *)(v10 + 648) = 0; *(_DWORD *)(v10 + 652) = 0; *(_DWORD *)(v10 + 696) = 0; *(_QWORD *)v10 = &off_1466860; *(_QWORD *)(v10 + 320) = off_1466DE8; *(_QWORD *)(v10 + 328) = &off_1466E58; *(_QWORD *)(v10 + 336) = off_1466E70; *(_QWORD *)(v10 + 344) = off_1466E90; *(_QWORD *)(v10 + 352) = off_1466EB8; *(_QWORD *)(v10 + 408) = &off_1466EE8; *(_QWORD *)(v10 + 432) = &off_1466F68; *(_QWORD *)(v10 + 544) = off_1466F88; *(_BYTE *)(v10 + 700) = 0; *(_QWORD *)(v10 + 704) = 0; *(_QWORD *)(v10 + 680) = &off_1467008; *(_QWORD *)(v10 + 664) = off_1466FD0; *(_QWORD *)(v10 + 672) = &off_1466FF0; *(_QWORD *)(v10 + 712) = 0; *(_QWORD *)(v10 + 720) = 0; *(_QWORD *)(v10 + 728) = 0; *(_QWORD *)(v10 + 736) = 0; *(_QWORD *)(v10 + 744) = 0; *(_QWORD *)(v10 + 752) = 0; *(_QWORD *)(v10 + 760) = 0; *(_QWORD *)(v10 + 768) = 0; *(_QWORD *)(v10 + 776) = 0; *(_QWORD *)(v10 + 792) = 0; *(_BYTE *)(v10 + 800) = 0; *(_BYTE *)(v10 + 801) = 0; *(_DWORD *)(v10 + 804) = 0; *(_QWORD *)(v10 + 808) = 0; v21 = 0; v11 = *a1; v22 = 0; v23 = nullptr; if ( (v11 & 1) != 0 ) { std::string::__init(&v21, *((void **)a1 + 2), *((_QWORD *)a1 + 1)); } else { v12 = *(_QWORD *)a1; v13 = *((_QWORD *)a1 + 1); v23 = *((void **)a1 + 2); v21 = v12; v22 = v13; } v14 = *a5; v24 = 0; v25 = 0; v26 = nullptr; if ( (v14 & 1) != 0 ) { std::string::__init(&v24, *((void **)a5 + 2), *((_QWORD *)a5 + 1)); } else { v15 = *(_QWORD *)a5; v16 = *((_QWORD *)a5 + 1); v26 = *((void **)a5 + 2); v24 = v15; v25 = v16; } v17 = (unsigned __int8)ShareCommentLayer::init(v10, (__int64)&v21, a2, a3, a4, (unsigned __int8 *)&v24); if ( (v24 & 1) != 0 ) operator delete(v26); if ( (v21 & 1) != 0 ) operator delete(v23); if ( v17 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10); } else { v18 = *(_QWORD *)v10; v19 = v10; v10 = 0; (*(void (__fastcall **)(__int64))(v18 + 16))(v19); } return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source