{"type": "func", "start": 668456, "end": 668502, "name": "sub_A3328", "pseudocode": "// \n// sub_A3328 from 0xa3328 to 0xa3356 (46 bytes)\n// \n// 1 xrefs:\n// > sub_A3300 @ 0xa3314\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_A3328(int a1, int a2)\n{\n  int v2; // r0\n  int result; // r0\n\n  v2 = *(_DWORD *)(a1 + 8);\n  if ( v2 < 0 )\n    v2 = -v2;\n  result = (int)(float)((float)v2 * 1.5);\n  if ( result < a2 )\n    result = a2;\n  if ( result <= 5 )\n    return 5;\n  return result;\n}", "assembly": "; \n; sub_A3328 from 0xa3328 to 0xa3356 (46 bytes)\n; \n; 1 xrefs:\n; > sub_A3300 @ 0xa3314\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\nLDR             R0, [R0,#8]                                            ; +0x0, 0xa3328\nCMP             R0, #0                                                 ; +0x2, 0xa332a\nBPL             loc_A3330                                              ; +0x4, 0xa332c\nNEGS            R0, R0                                                 ; +0x6, 0xa332e\nVMOV            S0, R0                                                 ; +0x8, 0xa3330\nVMOV.F32        S2, #1.5                                               ; +0xc, 0xa3334\nVCVT.F32.S32    S0, S0                                                 ; +0x10, 0xa3338\nVMUL.F32        S0, S0, S2                                             ; +0x14, 0xa333c\nVCVT.S32.F32    S0, S0                                                 ; +0x18, 0xa3340\nVMOV            R0, S0                                                 ; +0x1c, 0xa3344\nCMP             R0, R1                                                 ; +0x20, 0xa3348\nIT LT                                                                  ; +0x22, 0xa334a\nMOVLT           R0, R1                                                 ; +0x24, 0xa334c\nCMP             R0, #5                                                 ; +0x26, 0xa334e\nIT LE                                                                  ; +0x28, 0xa3350\nMOVLE           R0, #5                                                 ; +0x2a, 0xa3352\nBX              LR                                                     ; +0x2c, 0xa3354", "xrefs": ["sub_A3300 @ 0xa3314"], "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"}