// // GJSmartTemplate::offsetForObject from 0x10000756c to 0x1000075d8 (108 bytes) // // 2 xrefs: // > EditorUI::createSmartObjectsFromTemplate @ 0x1003f17e8 // > EditorUI::createSmartObjectsFromTemplate @ 0x1003f1950 // // 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::CCPoint __fastcall GJSmartTemplate::offsetForObject(SmartGameObject *a1) { __int64 v1; // x8 SmartBlockType v3; // w0 _BYTE v6[8]; // [xsp+8h] [xbp-18h] BYREF cocos2d::CCPoint v7; // 0:kr00_8.8 cocos2d::CCPoint v8; // 0:s0.4,4:s1.4 cocos2d::CCPoint result; // 0:s0.4,4:s1.4 if ( a1 ) { v8.x = sub_1000229B8(v6); v3 = GJSmartTemplate::smartObjectToType(a1, v8); v7 = GJSmartTemplate::offsetForType(v3); result.x = v7.x; result.y = v7.y; } else { result.x = sub_1000229B8(v1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source