//
// InfoLayer::getID from 0x53cb0a to 0x53cb42 (56 bytes)
//
// 6 xrefs:
// > InfoLayer::updateUserScoreFinished @ 0x53cf42
// > InfoLayer::activeCommentID @ 0x53cf94
// > InfoLayer::onCopyLevelID @ 0x53d330
// > InfoLayer::init @ 0x540012
// > InfoLayer::toggleSmallCommentMode @ 0x5406b8
// > InfoLayer::toggleSmallCommentMode @ 0x5406d8
//
// 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:52:15 +0000
//
int __fastcall InfoLayer::getID(InfoLayer *this)
{
int v1; // r3
int result; // r0
int v3; // r3
int v4; // r3
v1 = *((_DWORD *)this + 135);
if ( v1 )
return *(_DWORD *)(v1 + 292);
v3 = *((_DWORD *)this + 136);
if ( v3 )
return -*(_DWORD *)(v3 + 276);
v4 = *((_DWORD *)this + 137);
if ( v4 )
return *(_DWORD *)(v4 + 264);
result = *((_DWORD *)this + 134);
if ( result )
return *(_DWORD *)(result + 268) - *(_DWORD *)(result + 272);
return result;
}