// // URLViewLayer::create from 0x1402a4a70 to 0x1402a4c44 (468 bytes) // // 5 xrefs: // > LevelAreaInnerLayer::onInfo @ 0x1402c80e8 // > SFXBrowser::onCredits @ 0x14048027b // > SupportLayer::onSFX @ 0x1404c981e // > SupportLayer::onLinks @ 0x1404ca90c // > @ 0x1406d203c // // 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 // // Hidden C++ exception states: #wind=3 void *__fastcall URLViewLayer::create(__int64 a1, cocos2d::CCObject *a2) { void *v4; // rdi __int64 v5; // rax __int64 v6; // rsi const char *v7; // rdx __int64 v8; // rcx cocos2d::CCDirector *v9; // rax CustomListView *v10; // rbx int v12; // [rsp+20h] [rbp-68h] _BYTE v13[32]; // [rsp+50h] [rbp-38h] BYREF __int64 v14; // [rsp+70h] [rbp-18h] v14 = a1; v4 = operator new(0x268u); GJDropDownLayer::GJDropDownLayer((GJDropDownLayer *)v4); *(_QWORD *)v4 = &URLViewLayer::`vftable'; *((_QWORD *)v4 + 40) = &URLViewLayer::`vftable'; *((_QWORD *)v4 + 41) = &URLViewLayer::`vftable'; *((_QWORD *)v4 + 42) = &URLViewLayer::`vftable'; *((_QWORD *)v4 + 43) = &URLViewLayer::`vftable'; *((_QWORD *)v4 + 44) = &URLViewLayer::`vftable'; *((_QWORD *)v4 + 51) = &URLViewLayer::`vftable'; *((_QWORD *)v4 + 54) = &URLViewLayer::`vftable'; v5 = sub_14003BDB0((__int64)v13, a1); v6 = v5; v7 = (const char *)v5; if ( *(_QWORD *)(v5 + 24) > 0xFu ) v7 = *(const char **)v5; if ( GJDropDownLayer::init((GJDropDownLayer *)v4, v7, 220.0, 0) ) { if ( a2 ) { *((_QWORD *)v4 + 76) = a2; cocos2d::CCObject::retain(a2); } v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8); cocos2d::CCDirector::getWinSize(v9); v10 = CustomListView::create(*((cocos2d::CCArray **)v4 + 76), nullptr, 220.0, 356.0, v12, URL, 0.0); v10->setTag(v10, 9); (*(void (__fastcall **)(_QWORD, CustomListView *, __int64))(**((_QWORD **)v4 + 71) + 440LL))( *((_QWORD *)v4 + 71), v10, 6); sub_14003A830(v6); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); } else { sub_14003A830(v6); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v4 + 8LL))(v4, 1); v4 = nullptr; } sub_14003A830(a1); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source