{"type": "func", "start": 769804, "end": 769840, "name": "sub_BBF0C", "pseudocode": "// \n// sub_BBF0C from 0xbbf0c to 0xbbf30 (36 bytes)\n// \n// 0 xrefs:\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_BBF0C(_DWORD *a1, _DWORD *a2, int a3)\n{\n  int v3; // r3\n  unsigned int v4; // r2\n\n  v3 = a1[105];\n  v4 = a3 + v3;\n  if ( v4 > a1[5] )\n    return 16;\n  *a2 = v3 + a1[106];\n  a1[105] = v4;\n  return 0;\n}", "assembly": "; \n; sub_BBF0C from 0xbbf0c to 0xbbf30 (36 bytes)\n; \n; 0 xrefs:\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, 0xbbf0c\nADD             R7, SP, #8                                             ; +0x2, 0xbbf0e\nLDR.W           R3, [R0,#0x1A4]                                        ; +0x4, 0xbbf10\nLDR             R4, [R0,#0x14]                                         ; +0x8, 0xbbf14\nADD             R2, R3                                                 ; +0xa, 0xbbf16\nCMP             R2, R4                                                 ; +0xc, 0xbbf18\nBLS             loc_BBF20                                              ; +0xe, 0xbbf1a\nMOVS            R0, #0x10                                              ; +0x10, 0xbbf1c\nPOP             {R4,R6,R7,PC}                                          ; +0x12, 0xbbf1e\nLDR.W           R4, [R0,#0x1A8]                                        ; +0x14, 0xbbf20\nADD             R3, R4                                                 ; +0x18, 0xbbf24\nSTR             R3, [R1]                                               ; +0x1a, 0xbbf26\nSTR.W           R2, [R0,#0x1A4]                                        ; +0x1c, 0xbbf28\nMOVS            R0, #0                                                 ; +0x20, 0xbbf2c\nPOP             {R4,R6,R7,PC}                                          ; +0x22, 0xbbf2e", "xrefs": [], "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"}