// // LevelEditorLayer::resetMovingObjects from 0x368368 to 0x3683d6 (110 bytes) // // 1 xrefs: // > LevelEditorLayer::onStopPlaytest @ 0x369416 // // 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 // void LevelEditorLayer::resetMovingObjects(LevelEditorLayer *a1) { unsigned int v2; // r4 cocos2d::CCArray *AllObjects; // r7 GameObject *v4; // r0 GameObject *v5; // r5 void (__fastcall *setPosition)(GameObject *__hidden, const cocos2d::CCPoint *); // r10 cocos2d::CCPoint v7; // [sp+4h] [bp-Ch] BYREF v2 = 0; AllObjects = LevelEditorLayer::getAllObjects(a1); while ( v2 < cocos2d::CCArray::count(AllObjects) ) { v4 = (GameObject *)cocos2d::CCArray::objectAtIndex(AllObjects, v2++); v5 = v4; GameObject::resetMoveOffset(v4); setPosition = v5->setPosition; v5->getRealPosition(&v7, v5); setPosition(v5, &v7); a1->updateObjectSection(a1, v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source