// // EditorUI::getSnapAngle from 0x70dcdc to 0x70dd4c (112 bytes) // // 3 xrefs: // > EditorUI::transformObject @ 0x70df9c // > EditorUI::transformObjectCall @ 0x70e48e // > EditorUI::transformObjectCall @ 0x70e580 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:57:42 +0000 // int __fastcall EditorUI::getSnapAngle(LevelEditorLayer **this, GameObject *a2, cocos2d::CCArray *a3) { unsigned int i; // r4 GameObject *v7; // r0 float v8; // r2 float v9; // s15 if ( a3 && cocos2d::CCArray::count(a3) ) { for ( i = 0; i < cocos2d::CCArray::count(a3); ++i ) { v7 = (GameObject *)cocos2d::CCArray::objectAtIndex(a3, i); v9 = COERCE_FLOAT(LevelEditorLayer::rotationForSlopeNearObject(*(this + 236), v7, v8)); if ( v9 != -1.0 ) return LODWORD(v9); } } else if ( a2 ) { return LevelEditorLayer::rotationForSlopeNearObject(*(this + 236), a2, *(float *)&a3); } v9 = -1.0; return LODWORD(v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source