// // BrowseSmartKeyLayer::create from 0x100072850 to 0x100072960 (272 bytes) // // 1 xrefs: // > BrowseSmartTemplateLayer::onTemplateObject @ 0x100072370 // // 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 // char *__fastcall BrowseSmartKeyLayer::create(__int64 a1, __int64 a2) { char *v4; // x19 int v5; // w0 int v6; // w20 void *__p[2]; // [xsp+0h] [xbp-40h] BYREF __int64 v9; // [xsp+10h] [xbp-30h] v4 = (char *)operator new(0x2C8u); FLAlertLayer::FLAlertLayer((FLAlertLayer *)v4); *((_DWORD *)v4 + 162) = 0; *(_OWORD *)(v4 + 632) = 0u; *((_OWORD *)v4 + 41) = 0u; *((_OWORD *)v4 + 42) = 0u; *(_QWORD *)v4 = off_100779530; *((_QWORD *)v4 + 40) = off_100779A58; *((_QWORD *)v4 + 41) = &off_100779AC8; *((_QWORD *)v4 + 42) = off_100779AE0; *((_QWORD *)v4 + 43) = off_100779B00; *((_QWORD *)v4 + 44) = off_100779B20; *((_QWORD *)v4 + 51) = off_100779B48; *((_QWORD *)v4 + 54) = off_100779BC8; *((_OWORD *)v4 + 43) = 0u; *((_DWORD *)v4 + 176) = 0; if ( *(char *)(a2 + 23) < 0 ) { sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8)); } else { *(_OWORD *)__p = *(_OWORD *)a2; v9 = *(_QWORD *)(a2 + 16); } v5 = BrowseSmartKeyLayer::init(v4, a1, __p); v6 = v5; if ( SHIBYTE(v9) < 0 ) { operator delete(__p[0]); if ( v6 ) goto LABEL_6; LABEL_8: (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4); return nullptr; } if ( !v5 ) goto LABEL_8; LABEL_6: cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source