{"type": "func", "start": 5199736, "end": 5199998, "name": "CountTriggerGameObject::triggerObject", "pseudocode": "// \n// CountTriggerGameObject::triggerObject from 0x4f5778 to 0x4f587e (262 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:51:16 +0000\n// \n\nchar **__fastcall CountTriggerGameObject::triggerObject(int a1, GJBaseGameLayer *a2, int a3, const void **a4)\n{\n  int v7; // r6\n  int v8; // r11\n  int v9; // r10\n  int v10; // r9\n  int v11; // r8\n  int v12; // r2\n  int v13; // r3\n  int v14; // r11\n  int v15; // r10\n  int v16; // r9\n  int v17; // r2\n  int v18; // r3\n  int v20; // [sp+18h] [bp-1Ch]\n  int v21; // [sp+18h] [bp-1Ch]\n  int v22; // [sp+1Ch] [bp-18h]\n  int v23; // [sp+1Ch] [bp-18h]\n  char *v24; // [sp+20h] [bp-14h] BYREF\n  int v25; // [sp+24h] [bp-10h]\n  int v26; // [sp+28h] [bp-Ch]\n\n  v7 = *(_DWORD *)(a1 + 892);\n  switch ( v7 )\n  {\n    case 1811:\n      v14 = *(_DWORD *)(a1 + 1500);\n      v15 = *(_DWORD *)(a1 + 1648);\n      v16 = *(_DWORD *)(a1 + 1284);\n      v17 = *(unsigned __int8 *)(a1 + 1457);\n      v18 = *(_DWORD *)(a1 + 1652);\n      if ( a4 )\n      {\n        v23 = *(_DWORD *)(a1 + 1652);\n        v21 = *(unsigned __int8 *)(a1 + 1457);\n        std::vector<int>::vector((int)&v24, a4);\n        v17 = v21;\n        v18 = v23;\n      }\n      else\n      {\n        v24 = nullptr;\n        v25 = 0;\n        v26 = 0;\n      }\n      GJBaseGameLayer::testInstantCountTrigger(\n        a2,\n        v14,\n        v15,\n        v16,\n        v17,\n        v18,\n        &v24,\n        *(_DWORD *)(a1 + 780),\n        *(_DWORD *)(a1 + 1492));\n      return std::__vector_base<int>::~__vector_base(&v24);\n    case 1817:\n      return (char **)GJBaseGameLayer::addPickupTrigger(a2, (CountTriggerGameObject *)a1);\n    case 1611:\n      v8 = *((_DWORD *)a2 + 381);\n      v9 = *(_DWORD *)(a1 + 1500);\n      v10 = *(_DWORD *)(a1 + 1648);\n      v11 = *(unsigned __int8 *)(a1 + 1656);\n      v12 = *(_DWORD *)(a1 + 1284);\n      v13 = *(unsigned __int8 *)(a1 + 1457);\n      if ( a4 )\n      {\n        v22 = *(unsigned __int8 *)(a1 + 1457);\n        v20 = *(_DWORD *)(a1 + 1284);\n        std::vector<int>::vector((int)&v24, a4);\n        v12 = v20;\n        v13 = v22;\n      }\n      else\n      {\n        v24 = nullptr;\n        v25 = 0;\n        v26 = 0;\n      }\n      GJEffectManager::runCountTrigger(v8, v9, v10, v11, v12, v13, &v24, *(_DWORD *)(a1 + 780), *(_DWORD *)(a1 + 1492));\n      return std::__vector_base<int>::~__vector_base(&v24);\n  }\n  return EffectGameObject::triggerObject((char **)a1, (GJEffectManager **)a2, a3, a4);\n}", "assembly": "; \n; CountTriggerGameObject::triggerObject from 0x4f5778 to 0x4f587e (262 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:51:16 +0000\n; \nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x4f5778\nSUB             SP, SP, #0x34                                          ; +0x4, 0x4f577c\nLDR             R7, =(__stack_chk_guard_ptr - 0x4F578C)                ; +0x6, 0x4f577e\nMOVW            LR, #0x713                                             ; +0x8, 0x4f5780\nMOV             R4, R0                                                 ; +0xc, 0x4f5784\nMOV             R8, R1                                                 ; +0xe, 0x4f5786\nADD             R7, PC; __stack_chk_guard_ptr                          ; +0x10, 0x4f5788\nLDR             R7, [R7]; __stack_chk_guard                            ; +0x12, 0x4f578a\nMOV             R5, R3                                                 ; +0x14, 0x4f578c\nLDR             R6, [R7]                                               ; +0x16, 0x4f578e\nSTR             R6, [SP,#0x34+var_8]                                   ; +0x18, 0x4f5790\nLDR.W           R6, [R0,#0x37C]                                        ; +0x1a, 0x4f5792\nCMP             R6, LR                                                 ; +0x1e, 0x4f5796\nBEQ             loc_4F57FC                                             ; +0x20, 0x4f5798\nMOVW            LR, #0x719                                             ; +0x22, 0x4f579a\nCMP             R6, LR                                                 ; +0x26, 0x4f579e\nBEQ             loc_4F5850                                             ; +0x28, 0x4f57a0\nMOVW            LR, #0x64B                                             ; +0x2a, 0x4f57a2\nCMP             R6, LR                                                 ; +0x2e, 0x4f57a6\nBNE             loc_4F585A                                             ; +0x30, 0x4f57a8\nLDR.W           R11, [R1,#0x5F4]                                       ; +0x32, 0x4f57aa\nADD             R6, SP, #0x34+var_14                                   ; +0x36, 0x4f57ae\nLDR.W           R10, [R0,#0x5DC]                                       ; +0x38, 0x4f57b0\nLDR.W           R9, [R0,#0x670]                                        ; +0x3c, 0x4f57b4\nLDRB.W          R8, [R0,#0x678]                                        ; +0x40, 0x4f57b8\nLDR.W           R2, [R0,#0x504]                                        ; +0x44, 0x4f57bc\nLDRB.W          R3, [R0,#0x5B1]                                        ; +0x48, 0x4f57c0\nCBZ             R5, loc_4F57D8                                         ; +0x4c, 0x4f57c4\nMOV             R0, R6                                                 ; +0x4e, 0x4f57c6\nMOV             R1, R5                                                 ; +0x50, 0x4f57c8\nSTR             R3, [SP,#0x34+var_18]                                  ; +0x52, 0x4f57ca\nSTR             R2, [SP,#0x34+var_1C]                                  ; +0x54, 0x4f57cc\nBL              _ZNSt6__ndk16vectorIiNS_9allocatorIiEEEC2ERKS3_; std::vector<int>::vector(std::vector<int> const&) ; +0x56, 0x4f57ce\nLDR             R2, [SP,#0x34+var_1C]                                  ; +0x5a, 0x4f57d2\nLDR             R3, [SP,#0x34+var_18]                                  ; +0x5c, 0x4f57d4\nB               loc_4F57DE                                             ; +0x5e, 0x4f57d6\nSTR             R5, [SP,#0x34+var_14]                                  ; +0x60, 0x4f57d8\nSTR             R5, [SP,#0x34+var_10]                                  ; +0x62, 0x4f57da\nSTR             R5, [SP,#0x34+var_C]                                   ; +0x64, 0x4f57dc\nSTMEA.W         SP, {R2,R3,R6}                                         ; +0x66, 0x4f57de\nMOV             R0, R11                                                ; +0x6a, 0x4f57e2\nLDR.W           R3, [R4,#0x30C]                                        ; +0x6c, 0x4f57e4\nMOV             R1, R10                                                ; +0x70, 0x4f57e8\nMOV             R2, R9                                                 ; +0x72, 0x4f57ea\nSTR             R3, [SP,#0x34+var_28]                                  ; +0x74, 0x4f57ec\nLDR.W           R3, [R4,#0x5D4]                                        ; +0x76, 0x4f57ee\nSTR             R3, [SP,#0x34+var_24]                                  ; +0x7a, 0x4f57f2\nMOV             R3, R8                                                 ; +0x7c, 0x4f57f4\nBL              _ZN15GJEffectManager15runCountTriggerEiibibRKNSt6__ndk16vectorIiNS0_9allocatorIiEEEEii; GJEffectManager::runCountTrigger(int,int,bool,int,bool,std::vector<int> const&,int,int) ; +0x7e, 0x4f57f6\nB               loc_4F5848                                             ; +0x82, 0x4f57fa\nLDR.W           R11, [R0,#0x5DC]                                       ; +0x84, 0x4f57fc\nADD             R6, SP, #0x34+var_14                                   ; +0x88, 0x4f5800\nLDR.W           R10, [R0,#0x670]                                       ; +0x8a, 0x4f5802\nLDR.W           R9, [R0,#0x504]                                        ; +0x8e, 0x4f5806\nLDRB.W          R2, [R0,#0x5B1]                                        ; +0x92, 0x4f580a\nLDR.W           R3, [R0,#0x674]                                        ; +0x96, 0x4f580e\nCBZ             R5, loc_4F5826                                         ; +0x9a, 0x4f5812\nMOV             R0, R6                                                 ; +0x9c, 0x4f5814\nMOV             R1, R5                                                 ; +0x9e, 0x4f5816\nSTR             R3, [SP,#0x34+var_18]                                  ; +0xa0, 0x4f5818\nSTR             R2, [SP,#0x34+var_1C]                                  ; +0xa2, 0x4f581a\nBL              _ZNSt6__ndk16vectorIiNS_9allocatorIiEEEC2ERKS3_; std::vector<int>::vector(std::vector<int> const&) ; +0xa4, 0x4f581c\nLDR             R2, [SP,#0x34+var_1C]                                  ; +0xa8, 0x4f5820\nLDR             R3, [SP,#0x34+var_18]                                  ; +0xaa, 0x4f5822\nB               loc_4F582C                                             ; +0xac, 0x4f5824\nSTR             R5, [SP,#0x34+var_14]                                  ; +0xae, 0x4f5826\nSTR             R5, [SP,#0x34+var_10]                                  ; +0xb0, 0x4f5828\nSTR             R5, [SP,#0x34+var_C]                                   ; +0xb2, 0x4f582a\nSTMEA.W         SP, {R2,R3,R6}                                         ; +0xb4, 0x4f582c\nMOV             R0, R8                                                 ; +0xb8, 0x4f5830\nLDR.W           R3, [R4,#0x30C]                                        ; +0xba, 0x4f5832\nMOV             R1, R11                                                ; +0xbe, 0x4f5836\nMOV             R2, R10                                                ; +0xc0, 0x4f5838\nSTR             R3, [SP,#0x34+var_28]                                  ; +0xc2, 0x4f583a\nLDR.W           R3, [R4,#0x5D4]                                        ; +0xc4, 0x4f583c\nSTR             R3, [SP,#0x34+var_24]                                  ; +0xc8, 0x4f5840\nMOV             R3, R9                                                 ; +0xca, 0x4f5842\nBL              _ZN15GJBaseGameLayer23testInstantCountTriggerEiiibiRKNSt6__ndk16vectorIiNS0_9allocatorIiEEEEii; GJBaseGameLayer::testInstantCountTrigger(int,int,int,bool,int,std::vector<int> const&,int,int) ; +0xcc, 0x4f5844\nMOV             R0, R6                                                 ; +0xd0, 0x4f5848\nBL              _ZNSt6__ndk113__vector_baseIiNS_9allocatorIiEEED2Ev; std::__vector_base<int>::~__vector_base() ; +0xd2, 0x4f584a\nB               loc_4F586C                                             ; +0xd6, 0x4f584e\nMOV             R0, R1; this                                           ; +0xd8, 0x4f5850\nMOV             R1, R4; CountTriggerGameObject *                       ; +0xda, 0x4f5852\nBL              _ZN15GJBaseGameLayer16addPickupTriggerEP22CountTriggerGameObject; GJBaseGameLayer::addPickupTrigger(CountTriggerGameObject *) ; +0xdc, 0x4f5854\nB               loc_4F586C                                             ; +0xe0, 0x4f5858\nBL              _ZN16EffectGameObject13triggerObjectEP15GJBaseGameLayeriPKNSt6__ndk16vectorIiNS2_9allocatorIiEEEE; EffectGameObject::triggerObject(GJBaseGameLayer *,int,std::vector<int> const*) ; +0xe2, 0x4f585a\nB               loc_4F586C                                             ; +0xe6, 0x4f585e\nB               loc_4F5862                                             ; +0xe8, 0x4f5860\nMOV             R0, R6                                                 ; +0xea, 0x4f5862\nBL              _ZNSt6__ndk113__vector_baseIiNS_9allocatorIiEEED2Ev; std::__vector_base<int>::~__vector_base() ; +0xec, 0x4f5864\nBL              __cxa_end_cleanup                                      ; +0xf0, 0x4f5868\nLDR             R2, [SP,#0x34+var_8]                                   ; +0xf4, 0x4f586c\nLDR             R3, [R7]                                               ; +0xf6, 0x4f586e\nCMP             R2, R3                                                 ; +0xf8, 0x4f5870\nBEQ             loc_4F5878                                             ; +0xfa, 0x4f5872\nBLX             __stack_chk_fail                                       ; +0xfc, 0x4f5874\nADD             SP, SP, #0x34 ; '4'                                    ; +0x100, 0x4f5878\nPOP.W           {R4-R11,PC}                                            ; +0x102, 0x4f587a", "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"}