{"type": "func", "start": 705112, "end": 705184, "name": "sub_AC258", "pseudocode": "// \n// sub_AC258 from 0xac258 to 0xac2a0 (72 bytes)\n// \n// 1 xrefs:\n// > sub_ABFD0 @ 0xac04c\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_AC258(int result, float a2)\n{\n  int v3; // r1\n  int v4; // r2\n  int v5; // s4\n\n  v3 = 0;\n  *(_DWORD *)(result + 1360) = 1002525898;\n  *(_DWORD *)(result + 1364) = 1006391368;\n  while ( v3 != 8 )\n  {\n    v4 = result + v3;\n    v3 += 4;\n    v5 = (int)(float)(*(float *)(v4 + 1360) * a2);\n    *(_DWORD *)(v4 + 1368) = v5;\n    *(_DWORD *)(v4 + 1392) = v5 - 1;\n  }\n  return result;\n}", "assembly": "; \n; sub_AC258 from 0xac258 to 0xac2a0 (72 bytes)\n; \n; 1 xrefs:\n; > sub_ABFD0 @ 0xac04c\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\nPUSH            {R4,R6,R7,LR}                                          ; +0x0, 0xac258\nADD             R7, SP, #8                                             ; +0x2, 0xac25a\nVMOV            S0, R1                                                 ; +0x4, 0xac25c\nLDR             R3, =0x3BC154CA                                        ; +0x8, 0xac260\nMOVS            R1, #0                                                 ; +0xa, 0xac262\nLDR             R2, =0x3BFC5048                                        ; +0xc, 0xac264\nSTR.W           R3, [R0,#0x550]                                        ; +0xe, 0xac266\nSTR.W           R2, [R0,#0x554]                                        ; +0x12, 0xac26a\nCMP             R1, #8                                                 ; +0x16, 0xac26e\nBEQ             locret_AC29E                                           ; +0x18, 0xac270\nADDS            R2, R0, R1                                             ; +0x1a, 0xac272\nADDS            R1, #4                                                 ; +0x1c, 0xac274\nADD.W           R4, R2, #0x550                                         ; +0x1e, 0xac276\nADD.W           R3, R2, #0x558                                         ; +0x22, 0xac27a\nVLDR            S2, [R4]                                               ; +0x26, 0xac27e\nVMUL.F32        S2, S2, S0                                             ; +0x2a, 0xac282\nVCVT.S32.F32    S4, S2                                                 ; +0x2e, 0xac286\nVSTR            S4, [R3]                                               ; +0x32, 0xac28a\nVCVT.S32.F32    S2, S2                                                 ; +0x36, 0xac28e\nVMOV            R3, S2                                                 ; +0x3a, 0xac292\nSUBS            R3, #1                                                 ; +0x3e, 0xac296\nSTR.W           R3, [R2,#0x570]                                        ; +0x40, 0xac298\nB               loc_AC26E                                              ; +0x44, 0xac29c\nPOP             {R4,R6,R7,PC}                                          ; +0x46, 0xac29e", "xrefs": ["sub_ABFD0 @ 0xac04c"], "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"}