{"type": "func", "start": 785444, "end": 785506, "name": "JNI_OnLoad", "pseudocode": "// \n// JNI_OnLoad from 0xbfc24 to 0xbfc62 (62 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\njint JNI_OnLoad(JavaVM *vm, void *reserved)\n{\n  jint result; // r0\n  int v4; // [sp+4h] [bp-Ch] BYREF\n\n  v4 = 0;\n  if ( (*vm)->GetEnv(vm, (void **)&v4, 65542) )\n    return -1;\n  result = sub_BFC6C(v4, 0, 0);\n  if ( !result )\n  {\n    *(int *)((char *)&dword_158 + (_DWORD)off_E8000) = (int)vm;\n    return 65542;\n  }\n  return result;\n}", "assembly": "; \n; JNI_OnLoad from 0xbfc24 to 0xbfc62 (62 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            {R2-R5,R7,LR}                                          ; +0x0, 0xbfc24\nADD             R7, SP, #0x10                                          ; +0x2, 0xbfc26\nMOV             R4, R0                                                 ; +0x4, 0xbfc28\nMOVS            R0, #0                                                 ; +0x6, 0xbfc2a\nSTR             R0, [SP,#8+var_4]                                      ; +0x8, 0xbfc2c\nADD             R1, SP, #8+var_4                                       ; +0xa, 0xbfc2e\nLDR             R0, [R4]                                               ; +0xc, 0xbfc30\nLDR             R5, =0x10006                                           ; +0xe, 0xbfc32\nLDR             R3, [R0,#0x18]                                         ; +0x10, 0xbfc34\nMOV             R0, R4                                                 ; +0x12, 0xbfc36\nMOV             R2, R5                                                 ; +0x14, 0xbfc38\nBLX             R3                                                     ; +0x16, 0xbfc3a\nCBZ             R0, loc_BFC44                                          ; +0x18, 0xbfc3c\nMOV.W           R0, #0xFFFFFFFF                                        ; +0x1a, 0xbfc3e\nB               loc_BFC5E                                              ; +0x1e, 0xbfc42\nLDR             R0, [SP,#8+var_4]                                      ; +0x20, 0xbfc44\nMOVS            R1, #0                                                 ; +0x22, 0xbfc46\nMOVS            R2, #0                                                 ; +0x24, 0xbfc48\nBL              sub_BFC6C                                              ; +0x26, 0xbfc4a\nCBNZ            R0, loc_BFC5E                                          ; +0x2a, 0xbfc4e\nLDR             R0, =(off_E6144 - 0xBFC56)                             ; +0x2c, 0xbfc50\nADD             R0, PC; off_E6144                                      ; +0x2e, 0xbfc52\nLDR             R0, [R0]; off_E8000                                    ; +0x30, 0xbfc54\nLDR             R0, [R0]; dword_F2488                                  ; +0x32, 0xbfc56\nSTR.W           R4, [R0,#(dword_F25E0 - 0xF2488)]                      ; +0x34, 0xbfc58\nMOV             R0, R5                                                 ; +0x38, 0xbfc5c\nADD             SP, SP, #8                                             ; +0x3a, 0xbfc5e\nPOP             {R4,R5,R7,PC}                                          ; +0x3c, 0xbfc60", "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"}