// // GJBaseGameLayer::getCameraEdgeValue from 0x100299390 to 0x100299470 (224 bytes) // // 5 xrefs: // > GJBaseGameLayer::updateCamera @ 0x10029ba0c // > GJBaseGameLayer::updateCamera @ 0x10029ba28 // > GJBaseGameLayer::updateCamera @ 0x10029ba4c // > GJBaseGameLayer::updateCamera @ 0x10029ba70 // > GJBaseGameLayer::updateCamera @ 0x10029ba88 // // 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 11:02:07 +0000 // float __fastcall GJBaseGameLayer::getCameraEdgeValue(unsigned int *a1, int a2) { __int64 v4; // x21 __int64 MainObject; // x0 __int64 v7; // [xsp+0h] [xbp-30h] BYREF __int64 v8; // [xsp+8h] [xbp-28h] BYREF v4 = 0; if ( a2 > 2 ) { if ( a2 == 3 ) { v4 = a1[266]; } else if ( a2 == 4 ) { v4 = a1[267]; } } else if ( a2 == 1 ) { v4 = a1[264]; } else if ( a2 == 2 ) { v4 = a1[265]; } sub_1000262F4(&v8, (double *)&qword_1009F5820); MainObject = GJBaseGameLayer::tryGetMainObject((__int64)a1, v4); if ( MainObject ) { (*(void (__fastcall **)(__int64 *__return_ptr))(*(_QWORD *)MainObject + 1360LL))(&v7); sub_10002630C(&v8, (double *)&v7); } if ( (unsigned int)(a2 - 3) < 2 ) return *((float *)&v8 + 1); if ( (unsigned int)(a2 - 1) > 1 ) return 0.0; return *(float *)&v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source