// // GridSettingsLayer::getValue from 0xcdbce0 to 0xcdbd38 (88 bytes) // // 2 xrefs: // > @ 0x88bb8 // > @ 0x15024e8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:06:33 +0000 // float __fastcall GridSettingsLayer::getValue(GridSettingsLayer *this, int a2) { __int64 v2; // x0 float result; // s0 __int64 v4; // x0 if ( a2 == -2 ) { v4 = *((_QWORD *)this + 127); if ( !v4 ) return 30.0; result = *(float *)(v4 + 652); if ( result <= 0.0 ) return 30.0; } else if ( a2 == -1 ) { v2 = *((_QWORD *)this + 127); if ( v2 ) { result = 0.0; if ( *(_BYTE *)(v2 + 656) ) return 1.0; } else { return 0.0; } } else { return SetupTriggerPopup::getValue((cocos2d::CCDictionary **)this, a2); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source