// // LevelEditorLayer::getLastObjectX from 0x1000f0880 to 0x1000f0913 (147 bytes) // // 2 xrefs: // > EditorPauseLayer::init @ 0x1002915f3 // > EditorPauseLayer::saveLevel @ 0x1002949b5 // // 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 __fastcall LevelEditorLayer::getLastObjectX(LevelEditorLayer *a1) { cocos2d::CCArray *m_objects; // rbx unsigned int v2; // r14d __int64 v3; // r15 float v5; // [rsp+0h] [rbp-1Ch] m_objects = a1->m_objects; if ( !(unsigned int)sub_100720070(m_objects) ) return 0.0; v2 = 0; v5 = 0.0; do { v3 = sub_1007200C0(m_objects, v2); if ( *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 192LL))(v3) > v5 ) v5 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 192LL))(v3); ++v2; } while ( v2 < (unsigned int)sub_100720070(m_objects) ); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source