// // DrawGridLayer::getPortalMinMax from 0x4645a0 to 0x464638 (152 bytes) // // 1 xrefs: // > DrawGridLayer::draw @ 0x464faa // // 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:48:54 +0000 // DrawGridLayer *__fastcall DrawGridLayer::getPortalMinMax(DrawGridLayer *this, GameObject *a2, int a3) { float v5; // s17 int v6; // r0 float v7; // s15 if ( (*(int (__fastcall **)(int, GameObject *))(*(_DWORD *)a3 + 900))(a3, a2) == 16 ) { v5 = 240.0; } else { v5 = 300.0; if ( (*(int (__fastcall **)(int))(*(_DWORD *)a3 + 900))(a3) == 33 ) v5 = 270.0; } v6 = (*(int (__fastcall **)(int))(*(_DWORD *)a3 + 96))(a3); v7 = floorf((float)((float)(*(float *)(v6 + 4) - (float)(v5 * 0.5)) + 0.0) / 30.0) * 30.0; if ( v7 <= 90.0 ) v7 = 90.0; cocos2d::CCPoint::CCPoint(this, v7, v7 + v5); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source