// // LevelEditorLayer::getLastObjectX from 0x3681a4 to 0x3681f8 (84 bytes) // // 2 xrefs: // > EditorPauseLayer::init @ 0x3ff87e // > EditorPauseLayer::saveLevel @ 0x40136e // // 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 // float LevelEditorLayer::getLastObjectX(LevelEditorLayer *a1) { unsigned int v1; // r4 float v2; // s16 cocos2d::CCArray *AllObjects; // r6 int v4; // r5 v1 = 0; v2 = 0.0; AllObjects = LevelEditorLayer::getAllObjects(a1); while ( v1 < cocos2d::CCArray::count(AllObjects) ) { v4 = cocos2d::CCArray::objectAtIndex(AllObjects, v1); if ( *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v4 + 96))(v4) > v2 ) v2 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v4 + 96))(v4); ++v1; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source