{"type": "func", "start": 626978, "end": 627024, "name": "sub_99122", "pseudocode": "// \n// sub_99122 from 0x99122 to 0x99150 (46 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:41:29 +0000\n// \n\nint __fastcall sub_99122(int *a1, int a2, float a3)\n{\n  int v3; // r0\n  float v4; // s0\n\n  v3 = *a1;\n  if ( a2 == 1 )\n  {\n    v4 = a3;\n    *(float *)(v3 + 408) = a3;\n  }\n  else\n  {\n    v4 = *(float *)(v3 + 408);\n  }\n  *(float *)(v3 + 412) = v4 / (float)*(int *)(*(_DWORD *)(v3 + 128) + 1184);\n  return 0;\n}", "assembly": "; \n; sub_99122 from 0x99122 to 0x99150 (46 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:41:29 +0000\n; \nLDR             R0, [R0]                                               ; +0x0, 0x99122\nCMP             R1, #1                                                 ; +0x2, 0x99124\nITTE EQ                                                                ; +0x4, 0x99126\nVMOVEQ          S0, R2                                                 ; +0x6, 0x99128\nVSTREQ          S0, [R0,#0x198]                                        ; +0xa, 0x9912c\nVLDRNE          S0, [R0,#0x198]                                        ; +0xe, 0x99130\nLDR.W           R1, [R0,#0x80]                                         ; +0x12, 0x99134\nADD.W           R1, R1, #0x4A0                                         ; +0x16, 0x99138\nVLDR            S2, [R1]                                               ; +0x1a, 0x9913c\nVCVT.F32.S32    S2, S2                                                 ; +0x1e, 0x99140\nVDIV.F32        S0, S0, S2                                             ; +0x22, 0x99144\nVSTR            S0, [R0,#0x19C]                                        ; +0x26, 0x99148\nMOVS            R0, #0                                                 ; +0x2a, 0x9914c\nBX              LR                                                     ; +0x2c, 0x9914e", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}