// // sub_B40D4 from 0xb40d4 to 0xb418c (184 bytes) // // 1 xrefs: // > sub_B418C @ 0xb4444 // // 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 12:14:38 +0000 // __int64 __fastcall sub_B40D4(__int64 a1) { __int64 i; // x8 __int64 v3; // x20 __int64 v4; // x8 __int64 v5; // x8 __int64 result; // x0 for ( i = 0; i != 128; i += 4 ) *(_DWORD *)(a1 + 544 + i) = 1065353216; v3 = 0; *(_DWORD *)(a1 + 672) = *(_DWORD *)(*(_QWORD *)(a1 + 168) + 1744LL); while ( 1 ) { v4 = *(_QWORD *)(a1 + 232); if ( v3 >= *(int *)(v4 + 96) ) break; v5 = *(_QWORD *)(*(_QWORD *)(v4 + 104) + 8 * v3); if ( *(_DWORD *)v5 == 2 ) { result = sub_CBE2C(a1, (unsigned int)v3, *(_DWORD *)(v5 + 48) != 0); } else if ( *(_DWORD *)v5 ) { result = 0; } else { result = sub_CBD5C(a1, (unsigned int)v3, *(float *)(v5 + 56)); } ++v3; if ( (_DWORD)result ) return result; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source