{"type": "func", "start": 303672, "end": 303714, "name": "sub_4A238", "pseudocode": "// \n// sub_4A238 from 0x4a238 to 0x4a262 (42 bytes)\n// \n// 1 xrefs:\n// > FMOD::ChannelGroup::getName @ 0xb032c\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_4A238(int a1, int a2, int a3)\n{\n  const char *v3; // r3\n\n  if ( !a2 )\n    return 31;\n  if ( a3 >= 256 )\n    a3 = 256;\n  v3 = *(const char **)(a1 + 336);\n  if ( !v3 )\n    v3 = \"(null)\";\n  sub_BE220(a2, v3, a3);\n  return 0;\n}", "assembly": "; \n; sub_4A238 from 0x4a238 to 0x4a262 (42 bytes)\n; \n; 1 xrefs:\n; > FMOD::ChannelGroup::getName @ 0xb032c\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            {R7,LR}                                                ; +0x0, 0x4a238\nMOV             R7, SP                                                 ; +0x2, 0x4a23a\nCBZ             R1, loc_4A25E                                          ; +0x4, 0x4a23c\nCMP.W           R2, #0x100                                             ; +0x6, 0x4a23e\nIT GE                                                                  ; +0xa, 0x4a242\nMOVGE.W         R2, #0x100                                             ; +0xc, 0x4a244\nLDR.W           R3, [R0,#0x150]                                        ; +0x10, 0x4a248\nCBNZ            R3, loc_4A252                                          ; +0x14, 0x4a24c\nLDR             R3, =(aNull - 0x4A254); \"(null)\" ...                   ; +0x16, 0x4a24e\nADD             R3, PC; \"(null)\"                                       ; +0x18, 0x4a250\nMOV             R0, R1                                                 ; +0x1a, 0x4a252\nMOV             R1, R3                                                 ; +0x1c, 0x4a254\nBL              sub_BE220                                              ; +0x1e, 0x4a256\nMOVS            R0, #0                                                 ; +0x22, 0x4a25a\nPOP             {R7,PC}                                                ; +0x24, 0x4a25c\nMOVS            R0, #0x1F                                              ; +0x26, 0x4a25e\nPOP             {R7,PC}                                                ; +0x28, 0x4a260", "xrefs": ["FMOD::ChannelGroup::getName @ 0xb032c"], "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"}