{"type": "func", "start": 351928, "end": 351968, "name": "sub_55EB8", "pseudocode": "// \n// sub_55EB8 from 0x55eb8 to 0x55ee0 (40 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:40:46 +0000\n// \n\nint __fastcall sub_55EB8(int a1, int a2, int a3)\n{\n  void *v3; // r3\n\n  if ( !a2 )\n    return 31;\n  if ( a3 >= 256 )\n    a3 = 256;\n  v3 = *(void **)(a1 + 32);\n  if ( !v3 )\n    v3 = &unk_2191F;\n  sub_BE220(a2, v3, a3);\n  return 0;\n}", "assembly": "; \n; sub_55EB8 from 0x55eb8 to 0x55ee0 (40 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:40:46 +0000\n; \nPUSH            {R7,LR}                                                ; +0x0, 0x55eb8\nMOV             R7, SP                                                 ; +0x2, 0x55eba\nCBZ             R1, loc_55EDC                                          ; +0x4, 0x55ebc\nCMP.W           R2, #0x100                                             ; +0x6, 0x55ebe\nIT GE                                                                  ; +0xa, 0x55ec2\nMOVGE.W         R2, #0x100                                             ; +0xc, 0x55ec4\nLDR             R3, [R0,#0x20]                                         ; +0x10, 0x55ec8\nCBNZ            R3, loc_55ED0                                          ; +0x12, 0x55eca\nLDR             R3, =(unk_2191F - 0x55ED2)                             ; +0x14, 0x55ecc\nADD             R3, PC; unk_2191F                                      ; +0x16, 0x55ece\nMOV             R0, R1                                                 ; +0x18, 0x55ed0\nMOV             R1, R3                                                 ; +0x1a, 0x55ed2\nBL              sub_BE220                                              ; +0x1c, 0x55ed4\nMOVS            R0, #0                                                 ; +0x20, 0x55ed8\nPOP             {R7,PC}                                                ; +0x22, 0x55eda\nMOVS            R0, #0x1F                                              ; +0x24, 0x55edc\nPOP             {R7,PC}                                                ; +0x26, 0x55ede", "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"}