// // GJSmartBlockPreview::create from 0x1403bbef0 to 0x1403bc030 (320 bytes) // // 3 xrefs: // > BrowseSmartTemplateLayer::addPrefabMenuItem @ 0x1405effd6 // > BrowseSmartKeyLayer::init @ 0x1405f1303 // > @ 0x140923e1c // // This function is hookable on this platform (idp: pc, 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 11:31:26 +0000 // // Hidden C++ exception states: #wind=3 void **__fastcall GJSmartBlockPreview::create(__int64 a1) { void **v2; // rdi void **v3; // rsi void (__fastcall **v4)(void **, _QWORD); // rbx __int64 v5; // rax void *v6; // rdx char v8[8]; // [rsp+28h] [rbp-50h] BYREF char v9[32]; // [rsp+30h] [rbp-48h] BYREF __int64 v10; // [rsp+50h] [rbp-28h] v10 = a1; v2 = (void **)operator new(0x178u); cocos2d::CCNode::CCNode((cocos2d::CCNode *)v2); *v2 = &GJSmartBlockPreview::`vftable'; *((_OWORD *)v2 + 20) = 0; v2[42] = nullptr; v2[43] = (void *)15; *((_BYTE *)v2 + 320) = 0; v2[44] = nullptr; v2[45] = nullptr; *((_BYTE *)v2 + 368) = 0; v3 = (void **)sub_14003F4F0((__int64)v9, a1); if ( cocos2d::CCNode::init((cocos2d::CCNode *)v2) ) { v4 = (void (__fastcall **)(void **, _QWORD))*v2; cocos2d::CCSize::CCSize((cocos2d::CCSize *)v8, 90.0, 90.0); v4[39](v2, v5); if ( v2 + 40 != v3 ) { v6 = v3; if ( (unsigned __int64)v3[3] > 0xF ) v6 = *v3; sub_1400405A0(v2 + 40, v6, (size_t)v3[2]); } sub_14003D310((__int64)v3); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { sub_14003D310((__int64)v3); (*((void (__fastcall **)(void **, __int64))*v2 + 1))(v2, 1); v2 = nullptr; } sub_14003D310(a1); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source