{"type": "func", "start": 429496, "end": 429590, "name": "sub_68DB8", "pseudocode": "// \n// sub_68DB8 from 0x68db8 to 0x68e16 (94 bytes)\n// \n// 1 xrefs:\n// > sub_692F4 @ 0x692f6\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall sub_68DB8(int a1, int a2, int a3)\n{\n  int v4; // r1\n  float v5; // s2\n  float v6; // s4\n\n  if ( a2 != 10 )\n    return 31;\n  v4 = a3;\n  if ( a3 )\n    v4 = 1;\n  if ( *(unsigned __int8 *)(a1 + 481) != v4 )\n  {\n    *(_BYTE *)(a1 + 481) = a3 != 0;\n    if ( a3 )\n    {\n      v5 = *(float *)(a1 + 404);\n      v6 = v5;\n      if ( *(float *)(a1 + 400) < v5 )\n        v6 = *(float *)(a1 + 400);\n      *(float *)(a1 + 504) = v6;\n      *(float *)(a1 + 508) = v5;\n    }\n    else\n    {\n      *(_QWORD *)(a1 + 504) = *(_QWORD *)(a1 + 392);\n    }\n    ++*(_DWORD *)(a1 + 472);\n  }\n  return 0;\n}", "assembly": "; \n; sub_68DB8 from 0x68db8 to 0x68e16 (94 bytes)\n; \n; 1 xrefs:\n; > sub_692F4 @ 0x692f6\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nCMP             R1, #0xA                                               ; +0x0, 0x68db8\nITT NE                                                                 ; +0x2, 0x68dba\nMOVNE           R0, #0x1F                                              ; +0x4, 0x68dbc\nBXNE            LR                                                     ; +0x6, 0x68dbe\nMOV             R1, R2                                                 ; +0x8, 0x68dc0\nCMP             R2, #0                                                 ; +0xa, 0x68dc2\nIT NE                                                                  ; +0xc, 0x68dc4\nMOVNE           R1, #1                                                 ; +0xe, 0x68dc6\nLDRB.W          R3, [R0,#0x1E1]                                        ; +0x10, 0x68dc8\nCMP             R3, R1                                                 ; +0x14, 0x68dcc\nBEQ             loc_68E12                                              ; +0x16, 0x68dce\nCMP             R2, #0                                                 ; +0x18, 0x68dd0\nIT NE                                                                  ; +0x1a, 0x68dd2\nMOVNE           R2, #1                                                 ; +0x1c, 0x68dd4\nSTRB.W          R2, [R0,#0x1E1]                                        ; +0x1e, 0x68dd6\nBEQ             loc_68E00                                              ; +0x22, 0x68dda\nVLDR            S2, [R0,#0x194]                                        ; +0x24, 0x68ddc\nVLDR            S0, [R0,#0x190]                                        ; +0x28, 0x68de0\nVMOV.F32        S4, S2                                                 ; +0x2c, 0x68de4\nVCMPE.F32       S0, S2                                                 ; +0x30, 0x68de8\nVMRS            APSR_nzcv, FPSCR                                       ; +0x34, 0x68dec\nIT LT                                                                  ; +0x38, 0x68df0\nVMOVLT.F32      S4, S0                                                 ; +0x3a, 0x68df2\nVSTR            S4, [R0,#0x1F8]                                        ; +0x3e, 0x68df6\nVSTR            S2, [R0,#0x1FC]                                        ; +0x42, 0x68dfa\nB               loc_68E08                                              ; +0x46, 0x68dfe\nLDRD.W          R1, R2, [R0,#0x188]                                    ; +0x48, 0x68e00\nSTRD.W          R1, R2, [R0,#0x1F8]                                    ; +0x4c, 0x68e04\nLDR.W           R1, [R0,#0x1D8]                                        ; +0x50, 0x68e08\nADDS            R1, #1                                                 ; +0x54, 0x68e0c\nSTR.W           R1, [R0,#0x1D8]                                        ; +0x56, 0x68e0e\nMOVS            R0, #0                                                 ; +0x5a, 0x68e12\nBX              LR                                                     ; +0x5c, 0x68e14", "xrefs": ["sub_692F4 @ 0x692f6"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}