// // GJSmartTemplate::offsetForObject from 0x9d18c4 to 0x9d1958 (148 bytes) // // 3 xrefs: // > EditorUI::createSmartObjectsFromTemplate @ 0x6c1ee0 // > EditorUI::createSmartObjectsFromTemplate @ 0x6c2278 // > @ 0xc0030 // // 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 GJSmartTemplate::offsetForObject(SmartGameObject *a1) { cocos2d::CCPoint *v1; // x8 SmartBlockType v3; // w0 cocos2d::CCPoint v6; // [xsp+30h] [xbp+30h] 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 ) { cocos2d::CCPoint::CCPoint(&v6, &stru_1243E08); v3 = GJSmartTemplate::smartObjectToType(a1, v8); v7 = GJSmartTemplate::offsetForType(v3); result.x = v7.x; result.y = v7.y; } else { cocos2d::CCPoint::CCPoint(v1, &stru_1243E08); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source