{"type": "func", "start": 733188, "end": 733292, "name": "sub_B3004", "pseudocode": "// \n// sub_B3004 from 0xb3004 to 0xb306c (104 bytes)\n// \n// 1 xrefs:\n// > sub_B306C @ 0xb34b4\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:38 +0000\n// \n\n__int64 __fastcall sub_B3004(__int64 a1)\n{\n  __int64 i; // x20\n  __int64 v3; // x8\n  __int64 result; // x0\n  __int64 v5; // x0\n\n  for ( i = 0; ; ++i )\n  {\n    v3 = *(_QWORD *)(a1 + 232);\n    if ( i >= *(int *)(v3 + 96) )\n      break;\n    result = sub_CBD5C(a1, (unsigned int)i, *(float *)(*(_QWORD *)(*(_QWORD *)(v3 + 104) + 8 * i) + 56LL));\n    if ( (_DWORD)result )\n      return result;\n  }\n  v5 = sub_B306C(a1);\n  sub_B3524(v5, *(float *)(a1 + 808));\n  return 0;\n}", "assembly": "; \n; sub_B3004 from 0xb3004 to 0xb306c (104 bytes)\n; \n; 1 xrefs:\n; > sub_B306C @ 0xb34b4\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:38 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0xb3004\nMOV             X19, X0                                                ; +0x4, 0xb3008\nMOV             X20, XZR                                               ; +0x8, 0xb300c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc, 0xb3010\nADD             X29, SP, #0x10                                         ; +0x10, 0xb3014\nLDR             X8, [X19,#0xE8]                                        ; +0x14, 0xb3018\nLDRSW           X9, [X8,#0x60]                                         ; +0x18, 0xb301c\nCMP             X20, X9                                                ; +0x1c, 0xb3020\nB.GE            loc_B304C                                              ; +0x20, 0xb3024\nLDR             X8, [X8,#0x68]                                         ; +0x24, 0xb3028\nMOV             X0, X19                                                ; +0x28, 0xb302c\nMOV             W1, W20                                                ; +0x2c, 0xb3030\nLDR             X8, [X8,X20,LSL#3]                                     ; +0x30, 0xb3034\nLDR             S0, [X8,#0x38]                                         ; +0x34, 0xb3038\nBL              sub_CBD5C                                              ; +0x38, 0xb303c\nADD             X20, X20, #1                                           ; +0x3c, 0xb3040\nCBZ             W0, loc_B3018                                          ; +0x40, 0xb3044\nB               loc_B3060                                              ; +0x44, 0xb3048\nMOV             X0, X19                                                ; +0x48, 0xb304c\nBL              sub_B306C                                              ; +0x4c, 0xb3050\nLDR             S0, [X19,#0x328]                                       ; +0x50, 0xb3054\nBL              sub_B3524                                              ; +0x54, 0xb3058\nMOV             W0, WZR                                                ; +0x58, 0xb305c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0xb3060\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0xb3064\nRET                                                                    ; +0x64, 0xb3068", "xrefs": ["sub_B306C @ 0xb34b4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}